/* JV Casino canvas, hero and summary styling. */
body {
  --page-canvas: #100b18;
  background: var(--page-canvas);
  position: relative;
  isolation: isolate;
}

.page-engraving {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("/images/jv-engraving.svg") center top / 500px auto repeat;
}

[data-contrast="high"] body {
  --page-canvas: #08050c;
}

[data-contrast="high"] .page-engraving {
  display: none;
}

.review-article {
  background-color: color-mix(in srgb, var(--page-canvas) 24%, transparent);
}

.btn,
.btn.primary {
  border-color: transparent;
  box-shadow: none;
}

.btn {
  background-color: #2b203a;
}

.btn:hover {
  border-color: transparent;
  background-color: #3a294b;
}

.btn.primary:hover {
  border-color: transparent;
  box-shadow: none;
}

.btn.ghost {
  background-color: #30223f;
}

.btn.ghost:hover {
  background-color: #402b51;
}

.hero,
.score,
.good,
.checklist,
.checklist.cons {
  border: 0;
}

.hero h1 {
  overflow-wrap: anywhere;
}

:is(.hero, .bonus, .app-promo)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, #f3cdfb26 0.55px, transparent 1.1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.banner-wordmark {
  position: absolute;
  color: #f5caff24;
  font-weight: 860;
  line-height: 1;
  letter-spacing: -.065em;
  white-space: nowrap;
  pointer-events: none;
}

.hero-visual .banner-wordmark {
  top: 13%;
  right: 4%;
  font-size: clamp(48px, 7.1vw, 108px);
}

[data-contrast="high"] :is(.hero, .bonus, .app-promo)::before,
[data-contrast="high"] .banner-wordmark {
  visibility: hidden;
}

.hero::after,
.score {
  pointer-events: none;
}

.score {
  background: #1e102d;
}

.good {
  background: #171122;
}

.metric {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.metric-icon,
.checklist-icon,
.checklist-marker {
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.metric-icon {
  width: 50px;
  height: 50px;
  color: #efb2ed;
}

.checklist :is(h2, h3) {
  display: flex;
  align-items: center;
  gap: .48em;
}

.checklist-icon {
  width: 1.08em;
  height: 1.08em;
}

.checklist li {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding-inline-start: 0;
}

.checklist li::before,
.checklist.cons li::before {
  content: none;
}

.checklist-marker {
  width: 15px;
  height: 15px;
  margin-top: .25em;
  color: var(--green);
  background-color: #234136;
  border-radius: 5px;
  stroke-width: 2;
}

.cons .checklist-marker {
  color: #ffaec7;
  background-color: #43283b;
}

@media (max-width: 700px) {
  body {
    background: var(--page-canvas);
  }

  body > main {
    background: var(--page-engraving) calc(50% - 60px) top / 330px auto repeat var(--page-canvas);
  }

  .hero-visual .banner-wordmark {
    top: 12%;
    right: 7%;
    font-size: clamp(44px, 15vw, 76px);
  }

  .metrics {
    row-gap: 8px;
  }

  .metric {
    gap: 9px;
    padding-inline-end: 8px;
  }

  .metric:nth-child(even) {
    padding-inline-end: 0;
  }

  .metric-icon {
    width: clamp(33px, 9vw, 42px);
    height: clamp(33px, 9vw, 42px);
  }

  .metric-copy {
    overflow-wrap: anywhere;
  }

  .metric-copy strong {
    line-height: 1.2;
  }

  .metric-copy span {
    margin-top: 4px;
    line-height: 1.35;
  }
}


@media (width >= 1201px) {
  .hero-visual img {
    width: min(376px, calc(72% - 12px));
    height: auto;
  }
}
@media (701px <= width <= 1100px) {
  .hero-visual img {
    right: 10%;
    width: min(350.5px, calc(90% - 16px));
    height: auto;
  }
}

@media (701px <= width <= 930px) {
  .hero-visual img {
    width: min(289.7px, calc(90% - 16px));
  }

  .score {
    gap: 9px;
  }

  .score small {
    display: block;
    white-space: normal;
  }
}

@media (701px <= width <= 1000px) {
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 12px;
  }

  .metric:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
}

