:root {
  color-scheme: dark;
  --background: #101c2d;
  --surface: #18283c;
  --surface-2: #203249;
  --primary: #e4003b;
  --accent: #e8f31a;
  --text: #f7f9fc;
  --muted: #aab5c5;
  --border: #34465b;
  --heading: "Roboto Condensed", Arial, sans-serif;
  --body: Roboto, Arial, sans-serif;
  --shadow: 0 18px 40px rgb(3 10 20 / 22%);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 90% 8%, rgb(228 0 59 / 13%), transparent 24rem),
    var(--background);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
}

:where(h1, h2, h3, p, figure, ul, ol) {
  margin: 0;
}

:where(ul, ol) {
  padding-inline-start: 1.35rem;
}

h1,
h2,
h3,
.pc strong,
.pc b {
  font-family: var(--heading);
}

h1 {
  max-width: 18ch;
  font-size: clamp(2.25rem, 7vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.75rem, 5vw, 2rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent);
}

:where(a, summary):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.ci-head {
  position: relative;
  z-index: 20;
  display: grid;
  width: 100%;
  grid-template-areas: "brand actions" "nav nav";
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  background: rgb(16 28 45 / 96%);
  box-shadow: 0 8px 24px rgb(3 10 20 / 18%);
  gap: 4px 12px;
}

.ci-brand {
  grid-area: brand;
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  color: var(--text);
  font: 700 24px/1 var(--heading);
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.ci-brand::before {
  width: 6px;
  height: 28px;
  margin-right: 8px;
  border-radius: 4px;
  background: var(--primary);
  content: "";
}

.ci-nav {
  grid-area: nav;
  display: flex;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  align-items: center;
  gap: 4px;
  scrollbar-width: thin;
}

.ci-nav a,
.fb-foot nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.ci-nav a {
  white-space: nowrap;
}

.fb-foot nav a {
  overflow-wrap: anywhere;
}

.ci-actions {
  grid-area: actions;
  display: flex;
  max-width: 48vw;
  overflow-x: auto;
  gap: 8px;
  scrollbar-width: none;
}

.ci-actions a,
.pc-action {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: var(--background);
  font: 700 16px/1.2 var(--heading);
  text-align: center;
  text-decoration: none;
}

.ci-actions a {
  white-space: nowrap;
}

.pc-action {
  max-width: 100%;
}

.ci-actions a:hover,
.pc-action:hover {
  background: #f4ff39;
  color: var(--background);
  box-shadow: 0 0 0 3px rgb(232 243 26 / 16%);
}

main {
  display: grid;
  width: min(1184px, calc(100% - 32px));
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-inline: auto;
  padding-block: 24px 48px;
  gap: 24px;
}

.pc {
  min-width: 0;
  grid-column: 1 / -1;
  padding: 24px;
  overflow-wrap: break-word;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.pc :where(p, li) {
  color: var(--muted);
}

.pc :where(p, ul, ol) + :where(p, ul, ol) {
  margin-top: 12px;
}

.pc small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.pc > :where(header, footer),
.pc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.pc > strong,
.pc > header > strong,
.pc > div > strong,
.pc > div > div > strong {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2rem);
  line-height: 1.12;
}

.pc > :where(div, header) > p,
.pc h1 + :where(p, div),
.pc h2 + :where(p, div) {
  margin-block: 12px 20px;
}

.pc > a:not(.pc-action),
.pc > header a:not(.pc-action),
.pc nav a:not(.pc-action),
.pc footer > a:not(.pc-action) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-block: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.pc-offer-hero,
.pc-review-hero {
  display: grid;
  min-height: 400px;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: center;
  padding: clamp(32px, 6vw, 64px);
  overflow: hidden;
  border-color: rgb(228 0 59 / 55%);
  background:
    linear-gradient(112deg, rgb(16 28 45 / 98%) 0 52%, rgb(228 0 59 / 82%) 100%),
    var(--surface);
  gap: 32px;
}

.pc-offer-hero h1,
.pc-review-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.pc-offer-hero > div > small,
.pc-review-hero > div > small,
.pc-benefit-pitch > div > small {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pc-offer-hero > div > a:not(.pc-action) {
  display: inline-flex;
  margin-left: 12px;
}

.pc-offer-hero aside {
  display: grid;
  min-height: 220px;
  place-content: center;
  padding: 24px;
  border: 1px solid rgb(247 249 252 / 35%);
  border-radius: 16px;
  background:
    radial-gradient(circle at 70% 25%, rgb(232 243 26 / 30%), transparent 7rem),
    linear-gradient(145deg, #e4003b, #8d0024);
  color: var(--text);
  font: 700 clamp(1.75rem, 5vw, 3rem)/1.1 var(--heading);
  text-align: center;
}

.pc-pills,
.pc-filter,
.pc-tabs,
.pc-odds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pc-pills > span,
.pc-filter > span,
.pc-tabs > *,
.pc-odds > span {
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}

.pc-pills > span {
  flex: 1 1 180px;
}

.pc-pills b {
  color: var(--accent);
}

.pc-chip-row > small,
.pc-metrics > small {
  display: block;
  margin-top: 12px;
}

.pc-category-rail {
  padding: 12px;
}

.pc-tabs > * {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.pc-tabs [aria-current="page"] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--background);
  font-weight: 700;
}

.pc-game-carousel > header,
.pc-promotion-rail > header,
.pc-live-bets > header,
.pc-game-offers > header {
  margin-bottom: 16px;
}

.pc-game-tiles,
.pc-campaigns,
.pc-bet-cards,
.pc-review-bonuses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
}

.pc-game-tiles > a {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(0deg, rgb(16 28 45 / 88%), transparent 75%),
    linear-gradient(135deg, #e4003b, #611229);
  color: var(--text);
  font: 700 20px/1.2 var(--heading);
  text-decoration: none;
}

.pc-game-tiles > a:nth-child(even) {
  background:
    linear-gradient(0deg, rgb(16 28 45 / 88%), transparent 75%),
    linear-gradient(135deg, #34465b, #17283d);
}

.pc-game-tiles small {
  margin-top: 4px;
  color: var(--text);
}

.pc-campaigns article,
.pc-bet-cards article,
.pc-review-bonuses article {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
}

.pc-campaigns article {
  border-top: 4px solid var(--primary);
}

.pc-campaigns article b,
.pc-bet-cards article > b,
.pc-review-bonuses article b,
.pc-review-bonuses article span {
  display: block;
  margin-block: 8px 16px;
}

.pc-odds > span {
  flex: 1 1 80px;
  text-align: center;
  font-weight: 700;
}

.pc-closing-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  border-color: rgb(232 243 26 / 50%);
  background: linear-gradient(120deg, var(--surface), #25394a);
  gap: 32px;
}

.pc-closing-cta > div > a {
  display: inline-flex;
}

.pc-closing-cta aside {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  padding-left: 24px;
  border-left: 4px solid var(--primary);
  gap: 16px;
}

.pc-closing-cta aside strong {
  color: var(--accent);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  line-height: 1.1;
}

.pc-sports-offer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  border-color: rgb(232 243 26 / 45%);
  background: linear-gradient(100deg, #263a50, #18283c);
  gap: 12px 20px;
}

.pc-sports-offer small {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
}

.pc-sports-offer .pc-action {
  margin-left: auto;
}

.pc-benefit-pitch {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  gap: 32px;
}

.pc-benefit-pitch h1 {
  margin-bottom: 16px;
}

.pc-benefit-pitch > div > div {
  color: var(--muted);
}

.pc-benefit-pitch .pc-action {
  margin-top: 20px;
}

.pc-benefit-pitch ul {
  display: grid;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  gap: 8px;
  list-style-position: inside;
}

.pc-benefit-pitch li::marker,
.pc-checklist li::marker {
  color: var(--accent);
}

.pc-sport-rail {
  padding: 0;
  overflow: hidden;
}

.pc-sport-rail header {
  padding: 20px 24px;
  background: var(--surface-2);
}

.pc-sport-rail > div {
  display: inline-block;
  padding: 8px 12px;
}

.pc-sport-rail > div a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
}

.pc-sport-rail [aria-current="page"] {
  background: var(--accent);
  color: var(--background);
}

.pc-market-list article,
.pc-game-offers article {
  padding-block: 16px;
  border-top: 1px solid var(--border);
}

.pc-market-list article > b {
  display: block;
  margin-block: 4px 12px;
  font-size: 18px;
}

.pc-betslip > div {
  display: flex;
  justify-content: space-between;
  padding-block: 14px;
  border-top: 1px solid var(--border);
  gap: 16px;
}

.pc-betslip .pc-action {
  width: 100%;
  margin-top: 16px;
}

.pc-cells {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pc-cells > span {
  min-width: 0;
  padding: 20px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--accent);
  font: 700 clamp(1.5rem, 5vw, 2rem)/1.1 var(--heading);
  text-align: center;
}

.pc-cells small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.pc-split-section > header {
  align-items: flex-start;
  margin-bottom: 24px;
}

.pc-split-section > header > div {
  flex: 1 1 280px;
}

.pc-text-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}

.pc-text-columns article {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
}

.pc-text-columns h3 {
  margin-bottom: 12px;
}

.pc-objection-answer {
  border-left: 5px solid var(--primary);
}

.pc-objection-answer > small {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
}

.pc-objection-answer h2 {
  margin-block: 8px 12px;
}

.pc-objection-answer > footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.pc-faq {
  padding-block: 8px;
}

.pc-faq details {
  border-bottom: 1px solid var(--border);
}

.pc-faq details:last-child {
  border-bottom: 0;
}

.pc-faq summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  cursor: pointer;
  font: 700 18px/1.3 var(--heading);
  list-style: none;
  gap: 16px;
}

.pc-faq summary::-webkit-details-marker {
  display: none;
}

.pc-faq summary::after {
  flex: 0 0 auto;
  color: var(--accent);
  content: "+";
  font-size: 24px;
}

.pc-faq details[open] summary::after {
  content: "−";
}

.pc-faq details > div {
  padding: 0 4px 20px;
  color: var(--muted);
}

.pc-primary-cta {
  display: grid;
  min-height: 240px;
  place-items: center;
  align-content: center;
  border-color: rgb(232 243 26 / 50%);
  background: linear-gradient(135deg, #263a50, #17273a);
  text-align: center;
  gap: 16px;
}

.pc-primary-cta > strong {
  max-width: 22ch;
  color: var(--accent);
}

.pc-checklist header {
  align-items: flex-start;
  margin-bottom: 20px;
}

.pc-checklist header > * {
  flex: 1 1 260px;
}

.pc-checklist ul {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px;
  list-style: none;
}

.pc-checklist li {
  display: flex;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  flex-direction: column;
  gap: 4px;
}

.pc-bonus-listing {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: center;
  padding: clamp(32px, 6vw, 56px);
  border-color: rgb(228 0 59 / 55%);
  background: linear-gradient(120deg, #18283c, #4a1b2b);
  gap: 32px;
}

.pc-bonus-listing p {
  margin-top: 12px;
}

.pc-promo-card {
  grid-column: span 6;
  min-height: 280px;
  display: flex;
  border-top: 5px solid var(--primary);
  flex-direction: column;
}

.pc-promo-card > strong {
  margin-block: 8px;
  color: var(--accent);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}

.pc-promo-card footer {
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
}

.pc-steps > div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  padding-block: 16px;
  border-top: 1px solid var(--border);
  gap: 16px;
}

.pc-steps > div > b {
  display: grid;
  width: 36px;
  height: 36px;
  place-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--background);
}

.pc-review-hero {
  background: linear-gradient(112deg, #18283c 0 52%, #4e2031 100%);
}

.pc-review-hero figure {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--background);
}

.pc-review-hero figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.pc-review-hero figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 14px;
}

.pc-pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pc-pros-cons section {
  display: flex;
  padding: 20px;
  border: 1px solid rgb(232 243 26 / 35%);
  border-radius: 8px;
  background: rgb(232 243 26 / 5%);
  flex-direction: column;
  gap: 10px;
}

.pc-pros-cons section:last-child {
  border-color: rgb(228 0 59 / 45%);
  background: rgb(228 0 59 / 7%);
}

.pc-pros-cons section:first-child strong {
  color: var(--accent);
}

.pc-review-bonuses > header {
  grid-column: 1 / -1;
}

.pc-review-bonuses article {
  border-left: 4px solid var(--primary);
}

.pc-review-body {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1.6fr);
  gap: 32px;
}

.pc-review-body > nav {
  display: flex;
  min-width: 0;
  align-self: start;
  padding-right: 20px;
  border-right: 1px solid var(--border);
  flex-direction: column;
  gap: 4px;
}

.pc-review-body > nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
}

.pc-review-body section + section {
  margin-top: 32px;
}

.pc-review-body h2 {
  margin-bottom: 12px;
}

.pc-review-body .pc-action {
  margin-top: 20px;
}

.pc-byline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.pc-byline > i {
  display: grid;
  width: 56px;
  height: 56px;
  place-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text);
  font-style: normal;
  font-weight: 700;
}

.pc-byline span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.pc-game-offers article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.pc-game-offers article > b {
  display: grid;
  width: 36px;
  height: 36px;
  place-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text);
}

.pc-game-offers article small {
  display: block;
}

.fb-foot {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 2fr) minmax(160px, 1fr) minmax(160px, 1fr);
  padding: 32px max(16px, calc((100% - 1152px) / 2));
  border-top: 4px solid var(--primary);
  background: #0b1625;
  gap: 24px 32px;
}

.fb-foot section strong {
  font: 700 24px/1.15 var(--heading);
}

.fb-foot section p {
  max-width: 52ch;
  margin-block: 8px;
  color: var(--muted);
}

.fb-foot small {
  color: var(--muted);
  font-size: 14px;
}

.fb-foot nav {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

@media (min-width: 769px) {
  .ci-head {
    position: sticky;
    top: 0;
    grid-template-areas: "brand nav actions";
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 72px;
    padding-inline: max(24px, calc((100% - 1152px) / 2));
    gap: 20px;
  }

  .ci-nav {
    justify-content: center;
  }

  .ci-actions {
    max-width: none;
  }

  main:has(.pc-betslip) .pc-market-list {
    grid-column: span 8;
  }

  .pc-betslip {
    grid-column: span 4;
  }
}

@media (max-width: 768px) {
  .ci-head {
    grid-template-areas: "brand" "actions" "nav";
    grid-template-columns: minmax(0, 1fr);
  }

  .ci-actions {
    max-width: none;
    overflow: visible;
    justify-self: start;
  }

  .ci-nav {
    display: grid;
    overflow: visible;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ci-nav a {
    justify-content: center;
    padding-inline: 8px;
  }

  main {
    width: min(100% - 24px, 720px);
    padding-block: 16px 32px;
    gap: 16px;
  }

  .pc {
    padding: 20px;
    border-radius: 8px;
  }

  .pc-offer-hero,
  .pc-review-hero,
  .pc-benefit-pitch,
  .pc-bonus-listing,
  .pc-closing-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .pc-offer-hero,
  .pc-review-hero,
  .pc-bonus-listing {
    min-height: 0;
    padding: 28px 20px;
    gap: 24px;
  }

  .pc-offer-hero aside {
    min-height: 150px;
  }

  .pc-closing-cta aside {
    padding: 20px 0 0;
    border-top: 4px solid var(--primary);
    border-left: 0;
  }

  .pc-promo-card {
    grid-column: 1 / -1;
  }

  .pc-cells {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pc-pros-cons,
  .pc-review-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .pc-review-body > nav {
    overflow-x: auto;
    padding: 0 0 12px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    flex-direction: row;
  }

  .pc-review-body > nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .fb-foot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px 16px;
    gap: 16px;
  }

  .fb-foot section {
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) {
  .ci-head {
    padding-inline: 10px;
    gap: 2px 8px;
  }

  .ci-brand {
    font-size: 20px;
  }

  .ci-actions a,
  .pc-action {
    padding-inline: 16px;
  }

  main {
    width: calc(100% - 16px);
  }

  .pc-offer-hero > div > a:not(.pc-action) {
    display: flex;
    width: fit-content;
    margin: 8px 0 0;
  }

  .pc-game-offers article {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .pc-game-offers article .pc-action {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .pc-byline {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .pc-byline > a {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
