/* ============================================================
   MegaReelSlot — foyer: the front page only.
   Full-width bands, no sidebar, no comparison table.
   ============================================================ */

.foyer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
}

/* ── Bands ────────────────────────────────────────────────── */
.foyer-band { padding: 3rem 0; }
.foyer-band--tint { background: var(--surface-2); }
.foyer-band--plain { background: var(--surface); }
.foyer-band--navy { background: var(--navy); }
.foyer-band--navy h2,
.foyer-band--navy h3 { color: #fff; }
.foyer-band--navy p { color: #C9D2E8; }
.foyer-band--navy a { color: #9FC1FF; }

.foyer-h2 {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}
.foyer-lede {
  font-size: 1.02rem;
  max-width: 720px;
  margin-bottom: 1.8rem;
}

/* ── Hero ─────────────────────────────────────────────────── */
.foyer-hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(8, 18, 42, 0.95) 0%, rgba(8, 18, 42, 0.78) 48%, rgba(10, 31, 68, 0.35) 100%),
    url('/images/hero-uk-payments.webp') center bottom/cover no-repeat;
}
.foyer-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.9rem 2.25rem;
  align-items: center;
}
@media (min-width: 940px) {
  .foyer-hero-inner { grid-template-columns: 1fr 420px; padding: 3.5rem 1.25rem 3.25rem; }
}
@media (min-width: 1100px) {
  .foyer-hero-inner { grid-template-columns: 1fr 470px; }
}

/* ── Hero screenshot fan ──────────────────────────────────── */
/* Real lobby shots of three of the ten, the same files the reviews use. */
.foyer-hero-art {
  position: relative;
  justify-self: center;
  width: 300px;
  height: 254px;
  margin: 0.3rem 0 0.2rem;
}
@media (min-width: 700px) {
  .foyer-hero-art { width: 440px; height: 372px; margin: 0; }
}
.foyer-shot {
  position: absolute;
  box-sizing: border-box;
  width: auto;
  max-width: none;
  border: 5px solid #F4F6FA;
  border-radius: 16px;
  background: #F4F6FA;
  box-shadow: 0 18px 40px rgba(2, 8, 22, 0.55);
}
.foyer-shot--a { left: 0; top: 23px; height: 208px; transform: rotate(-7deg); z-index: 1; }
.foyer-shot--b { left: 87px; top: 0; height: 254px; z-index: 3; }
.foyer-shot--c { left: 182px; top: 23px; height: 208px; transform: rotate(7deg); z-index: 2; }
/* at 320-379 the outer two ran off the gutters once the rotation swing is counted */
@media (max-width: 379px) {
  .foyer-hero-art { width: 250px; height: 212px; }
  .foyer-shot--a { left: 0; top: 19px; height: 173px; }
  .foyer-shot--b { left: 72px; height: 212px; }
  .foyer-shot--c { left: 152px; top: 19px; height: 173px; }
}
@media (min-width: 700px) {
  .foyer-shot--a { left: 0; top: 34px; height: 304px; }
  .foyer-shot--b { left: 128px; height: 372px; }
  .foyer-shot--c { left: 268px; top: 34px; height: 304px; }
}
/* between the two-column break and 1100 the art all but touches the gutter */
@media (min-width: 700px) and (max-width: 1099px) {
  .foyer-hero-art { width: 382px; height: 322px; }
  .foyer-shot--a { left: 0; top: 29px; height: 264px; }
  .foyer-shot--b { left: 111px; height: 322px; }
  .foyer-shot--c { left: 232px; top: 29px; height: 264px; }
}
@media (min-width: 940px) {
  .foyer-hero-art { justify-self: end; }
}
.foyer-hero h1 {
  color: #fff;
  font-size: 2.15rem;
  line-height: 1.15;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 20px rgba(3, 9, 24, 0.85), 0 1px 3px rgba(3, 9, 24, 0.6);
}
@media (min-width: 700px) { .foyer-hero h1 { font-size: 2.8rem; } }
.foyer-h1-break { display: none; }
@media (min-width: 1100px) { .foyer-h1-break { display: inline; } }
.foyer-hero-sub {
  color: #E7EDFA;
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 14px rgba(3, 9, 24, 0.85);
}
.foyer-hero-note {
  color: #9FB0D0;
  font-size: 0.84rem;
  margin: 0;
}

/* ── Hero entry tiles ─────────────────────────────────────── */
.foyer-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}
@media (min-width: 520px) { .foyer-tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .foyer-tiles { grid-template-columns: repeat(4, 1fr); } }
.foyer-tile {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: rgba(6, 15, 36, 0.62);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  color: #fff;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.foyer-tile:hover {
  background: rgba(6, 15, 36, 0.82);
  border-color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
.foyer-tile strong {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1rem;
  color: #fff;
}
.foyer-tile strong img {
  width: 17px;
  height: 17px;
  filter: invert(100%);
  margin-left: auto;
}
.foyer-tile span { font-size: 0.85rem; color: #C9D2E8; line-height: 1.45; }

/* ── Stats band ───────────────────────────────────────────── */
.foyer-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 820px) { .foyer-stats { grid-template-columns: repeat(4, 1fr); } }
.foyer-stat { background: var(--surface); padding: 1.3rem 1.2rem; }
.foyer-stat b {
  display: block;
  font-size: 1.75rem;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.foyer-stat span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* ── Three coverage cards ─────────────────────────────────── */
.foyer-cover {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 860px) { .foyer-cover { grid-template-columns: repeat(3, 1fr); } }
.foyer-cover-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.foyer-cover-card { overflow: hidden; }
.foyer-cover-art {
  display: block;
  width: calc(100% + 3rem);
  max-width: none;                 /* main.css caps every img at 100% */
  height: 186px;
  object-fit: cover;
  margin: -1.5rem -1.5rem 1.2rem;
  border-bottom: 1px solid var(--border);
}
.foyer-cover-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.foyer-cover-card > p { font-size: 0.93rem; margin-bottom: 1rem; }
.foyer-cover-links {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
}
.foyer-cover-links li { border-top: 1px solid var(--border); padding-top: 0.4rem; }
.foyer-cover-card .foyer-more { margin-top: auto; font-weight: 700; font-size: 0.9rem; }

/* ── Numbered method steps ────────────────────────────────── */
.foyer-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  counter-reset: foyerstep;
}
@media (min-width: 720px) { .foyer-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .foyer-steps { grid-template-columns: repeat(4, 1fr); } }
.foyer-step { padding-top: 0.9rem; border-top: 2px solid var(--border-hi); }
.foyer-step::before {
  counter-increment: foyerstep;
  content: "0" counter(foyerstep);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.foyer-step h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.foyer-step p { font-size: 0.9rem; margin: 0; }

/* ── Casino review shelf ──────────────────────────────────── */
.foyer-shelf {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 620px) { .foyer-shelf { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .foyer-shelf { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1300px) { .foyer-shelf { grid-template-columns: repeat(5, 1fr); } }
.foyer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.foyer-card:hover { border-color: var(--border-hi); transform: translateY(-2px); text-decoration: none; }
.foyer-card > img {
  width: 100%;
  max-width: 160px;
  height: 54px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}
.foyer-card h3 { font-size: 1rem; margin: 0; }
.foyer-card-score {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.15rem;
}
.foyer-card-score small { font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.foyer-card p { font-size: 0.85rem; margin: 0; }
.foyer-card-go { margin-top: auto; font-size: 0.85rem; font-weight: 700; color: var(--blue); }

/* ── Trust / promise list ─────────────────────────────────── */
.foyer-promise {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width: 780px) { .foyer-promise { grid-template-columns: 1fr 1fr; } }
.foyer-promise-item { display: flex; gap: 0.8rem; align-items: flex-start; }
.foyer-promise-item img { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; }
.foyer-band--navy .foyer-promise-item img { filter: invert(100%); }
.foyer-promise-item h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.foyer-promise-item p { font-size: 0.9rem; margin: 0; }

/* ── Help grid ────────────────────────────────────────────── */
.foyer-help {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 700px) { .foyer-help { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .foyer-help { grid-template-columns: repeat(4, 1fr); } }
.foyer-help-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.foyer-help-card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.foyer-help-card p { font-size: 0.88rem; margin: 0 0 0.7rem; }
.foyer-help-card a { font-size: 0.86rem; font-weight: 700; }

/* ── Latest guides ────────────────────────────────────────── */
.foyer-latest { list-style: none; margin: 0; padding: 0; }
.foyer-latest li { border-top: 1px solid var(--border); }
.foyer-latest li:last-child { border-bottom: 1px solid var(--border); }
.foyer-latest a {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  align-items: baseline;
  padding: 0.95rem 0.2rem;
  color: var(--navy);
}
.foyer-latest a:hover { background: var(--surface-2); text-decoration: none; }
.foyer-latest a > img {
  flex: 0 0 108px;
  width: 108px;
  height: 61px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  align-self: center;
}
.foyer-latest strong { font-size: 1rem; font-weight: 700; flex: 1 1 300px; }
.foyer-latest em {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
  flex: 0 0 auto;
}
.foyer-latest span { flex: 1 1 100%; font-size: 0.88rem; color: var(--text-2); }
@media (min-width: 620px) { .foyer-latest span { padding-left: 124px; } }

/* ── Editor card ──────────────────────────────────────────── */
.foyer-editor {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
}
.foyer-editor > img {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.foyer-editor-body { flex: 1 1 300px; }
.foyer-editor-body h2 { margin-bottom: 0.15rem; }
.foyer-editor-role { color: var(--muted); font-size: 0.88rem; margin-bottom: 0.8rem; }

/* ── Safer gambling band ──────────────────────────────────── */
.foyer-rg { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; }
.foyer-rg-marks { display: flex; gap: 0.9rem; align-items: center; flex-wrap: wrap; }
.foyer-rg-marks img { height: 40px; width: auto; }
.foyer-rg-body { flex: 1 1 340px; }
.foyer-rg-body p { margin: 0 0 0.5rem; font-size: 0.9rem; }
.foyer-rg-body p:last-child { margin: 0; }

/* ── Small print ──────────────────────────────────────────── */
.foyer-smallprint {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 900px;
  margin: 0;
}
.foyer-smallprint + .foyer-smallprint { margin-top: 0.6rem; }

/* ── Centred section intros, and the editor card on mobile ── */
.foyer-inner > .foyer-h2,
.foyer-inner > .foyer-lede {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.foyer-stat { text-align: center; }

@media (max-width: 619px) {
  .foyer-editor {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  .foyer-editor-body { flex: 1 1 auto; }
}
