* {
  box-sizing: border-box;
}

:root {
  --bg: #f4f4f4;
  --surface: #ffffff;
  --text: #151515;
  --muted: #5d5d5d;
  --hero-bg: linear-gradient(160deg, #3d0017 0%, #25000f 60%, #160009 100%);
  --hero-card: #ffffff;
  --cta: #f7b13e;
  --cta-text: #111;
  --border: #e3e3e3;
  --star: #f3a400;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.45;
}

body,
button,
input,
select,
textarea {
  font-family: Tahoma, Arial, sans-serif;
}

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

.wrapper {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

#masthead {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.notice-header {
  background: #f0f0f0;
  color: #3e3e3e;
  font-size: 13px;
  border-bottom: 1px solid #ddd;
}

.notice-header p {
  margin: 0;
  padding: 10px 0;
}

#masthead h1 {
  margin: 0;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 400;
}

.hero-chart-block {
  margin: 24px auto;
  padding: 34px 0;
  background: var(--hero-bg);
  color: #fff;
}

.hero-chart-block {
  position: relative;
  background-image: url("./background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-chart-block h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
}

.hero-chart-block > .wrapper > p {
  margin: 0 0 20px;
  max-width: 860px;
  color: #f0f0f0;
  font-size: 16px;
}

.trust-row {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 0 0 14px;
  color: #fff7d9;
  font-size: 13px;
  font-weight: 600;
}

.trust-row span::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  border-radius: 50%;
  background: #f0bf2c;
  color: #4e2f00;
  font-size: 11px;
  line-height: 1;
}

.top-picks-head {
  display: grid;
  grid-template-columns: 70px 150px 1fr 120px 120px 170px;
  align-items: center;
  border-radius: 4px 4px 0 0;
  background: #cf1e4f;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  column-gap: 12px;
}

.top-picks-head span {
  padding: 12px 10px;
  text-align: center;
  font-size: 17px;
}

.hero-chart-promos {
  display: block;
  background: #f6f6f6;
}

.hero-chart-promos a {
  position: relative;
  display: grid;
  grid-template-columns: 70px 150px 1fr 120px 120px 170px;
  align-items: center;
  column-gap: 12px;
  min-height: 96px;
  border-bottom: 1px solid #cfcfcf;
  padding: 10px 12px 22px;
  text-decoration: none;
  background: #efefef;
  color: #111;
}

.hero-chart-promos a::before {
  content: attr(data-order);
  font-size: 40px;
  font-weight: 500;
  text-align: center;
  color: #1a1a1a;
}

.hero-chart-promos a::after {
  content: "18+ only. Please play responsibly. If gambling stops being fun, seek local support resources. T&Cs apply.";
  grid-column: 3 / -1;
  align-self: end;
  font-size: 11px;
  color: #4c4c4c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-chart-promos a img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  justify-self: center;
}

.hero-chart-promos a p {
  margin: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.hero-meta {
  display: contents;
}

.hero-meta .stars {
  text-align: center;
  color: var(--star);
  font-size: 24px;
}

.hero-meta .score {
  display: inline-flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  justify-self: center;
  border: 2px solid #707070;
  border-radius: 50%;
  background: #fff;
  font-size: 26px;
  font-weight: 600;
  color: #111;
}

.hero-meta .score-label {
  display: none;
}

.btn,
.btn-popup-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  background: var(--cta);
  color: var(--cta-text);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.35px;
  cursor: pointer;
}

.hero-chart-promos .btn {
  justify-self: center;
  min-width: 154px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #31b55a;
  color: #fff;
  font-size: 23px;
  font-weight: 800;
}

.block-reviews-chart,
.block-accordion,
#colophon {
  margin: 24px auto;
}

.block-reviews-chart .wrapper,
.block-accordion .wrapper,
#colophon .wrapper {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.block-reviews-chart h2,
.block-accordion h2 {
  margin: 0 0 16px;
  font-size: 30px;
}

.review-chart-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
  background: #fff;
}

.review-chart-item:last-child {
  margin-bottom: 0;
}

.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review-head h3 {
  margin: 0;
  font-size: 22px;
}

.review-score {
  display: grid;
  justify-items: end;
  font-size: 12px;
  color: var(--muted);
}

.review-score .stars {
  text-align: center;
  color: var(--star);
  font-size: 16px;
}
.review-score .score {
  font-size: 30px;
}

.review-banner {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ececec;
  margin-bottom: 16px;
}

.review-chart-item p {
  margin: 0 0 12px;
  color: #454545;
}

/* Review list styling and layout */
.review-chart-item > ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.review-chart-item > ul > li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 34px;
  color: #2f2f2f;
  line-height: 1.35;
}

.review-chart-item > ul:nth-of-type(1) > li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e8f1ff;
  color: #2567c7;
  font-size: 13px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}

.review-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}

.review-col > p {
  margin: 6px 0 8px;
  font-size: 22px;
  font-weight: 600;
}

.review-col > ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.review-col > ul > li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 34px;
  color: #2f2f2f;
  line-height: 1.35;
}

.review-col > ul > li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}

.review-pros > ul > li::before {
  content: "✔";
  background: #d8f5e1;
  color: #1e9a4b;
}

.review-cons > ul > li::before {
  content: "✕";
  background: #ffdce3;
  color: #d94a69;
}

.review-chart-item .btn {
  display: flex;
  width: min(320px, 100%);
  margin: 18px auto 0;
  background: #efb03f;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
  border-bottom: 0;
}

.accordion-head {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
}

.accordion-text {
  display: none;
  color: #3d3d3d;
  padding: 0 0 14px;
}

.accordion-item.opened .accordion-text {
  display: block;
}

#colophon p {
  margin: 0 0 12px;
  color: #4c4c4c;
}

#colophon .btn-popup-open {
  margin-right: 8px;
  margin-bottom: 8px;
}

.sl-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  overflow-y: auto;
  padding: 24px;
  background: rgba(0, 0, 0, 0.7);
}

.sl-popup.is-open {
  display: block;
}

.sl-popup-in {
  position: relative;
  width: min(860px, 100%);
  margin: 38px auto;
  border-radius: 10px;
  padding: 22px;
  background: #fff;
  color: #111;
}

.sl-popup-in h2 {
  margin-top: 0;
}

.sl-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

body.popup-open {
  overflow: hidden;
}

.copyright {
  font-size: 12px;
  color: #4c4c4c;
}

.copyright a {
  color: #4c4c4c;
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .top-picks-head {
    display: none;
  }

  .hero-chart-promos a {
    grid-template-columns: 50px 1fr;
    row-gap: 10px;
    min-height: auto;
    padding: 12px;
  }

  .hero-chart-promos a::before {
    font-size: 30px;
    align-self: start;
  }

  .hero-chart-promos a::after {
    grid-column: 1 / -1;
    white-space: normal;
  }

  .hero-chart-promos a img {
    width: 80px;
    height: 80px;
    justify-self: start;
  }

  .hero-chart-promos a p {
    grid-column: 1 / -1;
    font-size: 22px;
    text-align: left;
  }

  .hero-meta .stars {
    grid-column: 1 / -1;
    text-align: left;
    letter-spacing: 2px;
  }

  .hero-meta .score {
    grid-column: 1 / -1;
    justify-self: start;
    width: 58px;
    height: 58px;
    font-size: 26px;
  }

  .hero-chart-promos .btn {
    grid-column: 1 / -1;
    width: 100%;
    font-size: 18px;
  }

  .review-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .review-score {
    justify-items: start;
  }

  .review-pros-cons {
    grid-template-columns: 1fr;
  }

  .review-chart-item .btn {
    font-size: 22px;
  }
}
