/* HollyWood Casino reference page - direction 4, Block */
:root {
  /* Palette: T #c41230 (oklch ~0.53 0.20 21). B = T hue 21. N = B - 35 = 346. A = gold hue 95. */
  --t: #c41230;
  --b-full: #c41230;
  --n-full: oklch(0.50 0.19 346);
  --b-deep: oklch(0.30 0.12 21);
  --b-deep-hi: oklch(0.35 0.13 21);
  --n-deep: oklch(0.30 0.12 346);
  --b-light: oklch(0.86 0.07 21);
  --n-light: oklch(0.86 0.07 346);
  --a: oklch(0.86 0.17 95);
  --a-hi: oklch(0.92 0.13 95);
  --ink: oklch(0.20 0.04 21);
  --paper: oklch(0.97 0.02 21);
  --stage: oklch(0.17 0.05 21);
  --stage-text: oklch(0.90 0.035 21);

  --head: "Unbounded", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: "Work Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --gap: 24px;
  --gutter: 16px;
  --tile-h: calc((min(100vw - 64px, 1360px) - 96px) / 5 * 2 / 3 + 86px);
}
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--paper);
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}

/* Fixed background: picture, colour layer, coloured tint */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  isolation: isolate;
  background-color: var(--b-deep);
  background-image: url("/images/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.backdrop::before,
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.backdrop::before { background: var(--b-full); mix-blend-mode: color; }
.backdrop::after { background: oklch(0.30 0.12 21 / 0.45); }

.page {
  position: relative;
  z-index: 1;
  width: min(1360px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding-block: var(--gap);
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.main { display: flex; flex-direction: column; gap: var(--gap); }

img { max-width: 100%; }

h1, h2, h3 { font-family: var(--head); font-weight: 800; letter-spacing: 0; margin: 0; }
p { margin: 0; }

a { color: inherit; }
.prose a, .panel p a, .site-footer p a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

:focus-visible { outline: 3px solid var(--b-light); outline-offset: 3px; }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.nm { font-weight: 400; font-style: normal; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  background: var(--a);
  color: var(--ink);
  border: 2px solid var(--paper);
  border-radius: 0;
  font-family: var(--body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--a-hi); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  background: transparent;
  color: var(--paper);
  border: 2px solid var(--paper);
  border-radius: 0;
  font: 700 16px/1.2 var(--body);
  cursor: pointer;
}
.btn-outline:hover { background: oklch(0.97 0.02 21 / 0.14); }

/* Hero stage */
.stage {
  --stage-h: clamp(380px, calc(100vh - 140px - var(--tile-h)), 510px);
  background: var(--stage);
  color: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--stage-h);
  grid-template-rows: auto 1fr;
  grid-template-areas: "logo media" "copy media";
  min-height: var(--stage-h);
}
.stage-logo { grid-area: logo; padding: 28px 40px 0; }
.stage-logo img { display: block; height: 40px; width: auto; }
.stage-copy {
  grid-area: copy;
  padding: 18px 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.stage h1 {
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.12;
  max-width: 20ch;
}
.offer-label { margin-top: 16px; font-size: 18px; line-height: 1.35; color: var(--stage-text); }
.stage .bonus-figure.hero-figure {
  display: block;
  margin-top: 4px;
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.02;
  color: var(--a);
}
.terms { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.terms p { font-size: 16px; line-height: 1.45; color: var(--stage-text); }
.terms .bonus-figure { font-size: 22px; line-height: 1.25; color: var(--paper); }
.stage .btn { margin-top: 20px; }

.stage-media { grid-area: media; position: relative; min-height: var(--stage-h); }
.stage-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.stage-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--stage) 0%, oklch(0.17 0.05 21 / 0) 24%),
    linear-gradient(270deg, var(--stage) 0%, oklch(0.17 0.05 21 / 0) 6%),
    linear-gradient(180deg, var(--stage) 0%, oklch(0.17 0.05 21 / 0) 5%),
    linear-gradient(0deg, var(--stage) 0%, oklch(0.17 0.05 21 / 0) 6%);
}

@media (min-width: 900px) and (max-height: 820px) {
  .stage-logo { padding: 22px 36px 0; }
  .stage-logo img { height: 34px; }
  .stage-copy { padding: 12px 36px 22px; }
  .stage h1 { font-size: clamp(22px, 2vw, 28px); }
  .offer-label { margin-top: 12px; font-size: 17px; }
  .stage .bonus-figure.hero-figure { font-size: clamp(36px, 3.6vw, 52px); }
  .terms p { font-size: 15px; }
  .terms .bonus-figure { font-size: 20px; }
  .stage .btn { margin-top: 14px; min-height: 48px; }
}

@media (max-width: 899px) {
  .stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas: "logo" "media" "copy";
    min-height: 0;
  }
  .stage-logo { padding: 20px 20px 16px; }
  .stage-logo img { height: 36px; }
  .stage-media { min-height: 0; aspect-ratio: 1 / 1; }
  .stage-media::after {
    background:
      linear-gradient(180deg, var(--stage) 0%, oklch(0.17 0.05 21 / 0) 8%),
      linear-gradient(0deg, var(--stage) 0%, oklch(0.17 0.05 21 / 0) 16%),
      linear-gradient(90deg, var(--stage) 0%, oklch(0.17 0.05 21 / 0) 6%),
      linear-gradient(270deg, var(--stage) 0%, oklch(0.17 0.05 21 / 0) 6%);
  }
  .stage-copy { padding: 8px 20px 24px; }
  .stage h1 { font-size: 26px; max-width: none; }
  .stage .bonus-figure.hero-figure { font-size: 46px; }
}

/* Games */
.games { display: flex; flex-direction: column; gap: var(--gap); scroll-margin-top: 24px; }

.strip {
  background: var(--b-full);
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 8px 24px;
}
.strip h2 { font-size: 20px; line-height: 1.2; white-space: nowrap; flex: none; }
.strip-controls {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  visibility: hidden;
}
.strip.is-ready .strip-controls { visibility: visible; }
.rail-wrap { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.rail {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.chip, .arrow {
  min-height: 48px;
  background: transparent;
  color: var(--paper);
  border: 2px solid var(--paper);
  border-radius: 0;
  font: 700 15px/1.15 var(--body);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.chip { flex: 0 0 140px; width: 140px; padding: 4px 12px; text-align: center; }
.chip:hover, .arrow:hover:not([disabled]) { background: oklch(0.97 0.02 21 / 0.16); }
.chip[aria-pressed="true"] { background: var(--paper); color: var(--b-full); }
.chip:focus-visible { outline: 3px solid currentColor; outline-offset: -7px; }
.arrow { flex: none; width: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.arrow svg { width: 20px; height: 20px; }
.arrow[disabled] { opacity: 0.45; cursor: default; }
.arrow[hidden] { display: none; }

.cat-select-wrap { display: none; }
.cat-select-wrap select, .search input {
  height: 44px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--paper);
  border-radius: 0;
  font: 400 16px/1.2 var(--body);
}
.cat-select-wrap select { width: 100%; padding: 0 12px; }
.search { flex: none; position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 12px; width: 18px; height: 18px; color: var(--ink); pointer-events: none; }
.search input { width: 188px; padding: 0 12px 0 40px; }
.search input::placeholder { color: oklch(0.42 0.05 21); opacity: 1; }
.search input:focus-visible, .cat-select-wrap select:focus-visible { outline: 3px solid var(--ink); outline-offset: -5px; }

@media (max-width: 767px) {
  .strip { flex-wrap: wrap; padding: 12px 16px; gap: 10px 12px; }
  .strip h2 { flex: 1 0 100%; }
  .strip-controls { flex: 1 0 100%; flex-wrap: wrap; }
  .rail-wrap { display: none; }
  .cat-select-wrap { display: block; flex: 1 1 140px; min-width: 0; }
  .search { flex: 1 1 200px; min-width: 0; }
  .search input { width: 100%; }
}

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.grid li { display: flex; }
.grid li[hidden] { display: none; }
.tile {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--b-deep);
  color: var(--paper);
  border: 2px solid var(--paper);
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.tile:hover { background: var(--b-deep-hi); border-color: var(--b-light); }
.cover { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.tile:hover .cover img { transform: scale(1.04); }
.cap { flex: 1; display: flex; flex-direction: column; gap: 2px; min-height: 82px; padding: 10px 12px; }
.g-name { font-weight: 700; font-size: 16px; line-height: 1.25; }
.g-cat { font-size: 14px; line-height: 1.4; color: var(--b-light); }

.games-note {
  background: var(--n-deep);
  color: var(--paper);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.count { font-weight: 700; }
.no-results { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.no-results[hidden] { display: none; }

/* Panels */
.panel { padding: 32px 16px; scroll-margin-top: 24px; }
@media (min-width: 768px) { .panel { padding: 40px 32px; } }
@media (min-width: 1024px) { .panel { padding: 48px 48px; } }
.f-b { background: var(--b-full); color: var(--paper); }
.f-n { background: var(--n-full); color: var(--paper); }
.d-b { background: var(--b-deep); color: var(--paper); }
.panel h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; margin-bottom: 24px; }
.panel h3 { font-size: 20px; line-height: 1.25; margin-bottom: 8px; }
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 14px; }
.panel .btn { margin-top: 24px; }
.muted-note { font-size: 16px; }

.split { display: grid; gap: 32px 48px; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.bonus-figure { font-weight: 700; font-size: 1.3em; line-height: 1.25; }
.figure-line { margin: 4px 0 8px; }
.figure-line .bonus-figure { font-size: 44px; line-height: 1.1; display: block; }
@media (max-width: 767px) { .figure-line .bonus-figure { font-size: 36px; } }
.label-line { font-size: 18px; }
.tier-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tier-list .bonus-figure { font-size: 26px; line-height: 1.2; }
.faq .bonus-figure { display: block; margin: 4px 0; font-size: 24px; line-height: 1.25; }
.stage h1 { max-width: none; }

.table-wrap { overflow-x: auto; max-width: 100%; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
caption { text-align: left; font-weight: 700; padding-bottom: 8px; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 2px solid currentColor; }
thead th { border-bottom-width: 3px; }
tbody th { font-weight: 700; }
td .bonus-figure { display: block; }
.banking-table { margin-bottom: 24px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { border-top: 3px solid currentColor; padding-top: 16px; }
.steps p { font-size: 16px; }
.lead { max-width: 70ch; margin-bottom: 24px; }

.about-logo { display: block; height: 48px; width: auto; margin-bottom: 24px; }
.facts { margin: 0; }
.facts div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 2px solid currentColor; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }

.faq { max-width: 900px; }
.faq details { border-bottom: 2px solid currentColor; }
.faq details:first-child { border-top: 2px solid currentColor; }
.faq summary { cursor: pointer; min-height: 44px; padding: 14px 0; font-weight: 700; font-size: 18px; line-height: 1.35; }
.faq details p { padding: 0 0 18px; max-width: 70ch; }

/* Footer */
.site-footer { background: var(--b-full); color: var(--paper); padding: 32px 16px; display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .site-footer { padding: 40px 32px; } }
@media (min-width: 1024px) { .site-footer { padding: 48px; } }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr; } }
.footer-brand { background: var(--b-deep); padding: 16px; display: inline-block; margin-bottom: 16px; }
.footer-brand img { display: block; height: 40px; width: auto; }
.site-footer h2 { font-size: 18px; line-height: 1.3; margin-bottom: 12px; }
.site-footer p { font-size: 16px; }
.site-footer p + p { margin-top: 10px; }
.foot-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal { border-top: 2px solid currentColor; padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .tile:hover .cover img { transform: none; }
}
