/* ==========================================================
   HOME.CSS - homepage-only layout (hub page)
   Sections: hero w/ screenshot fan, stat strip, category bento,
   top-3 podium, law banner, checks strip, payments, reviews rail,
   stats/RG duo, author band.
   ========================================================== */

/* ---------- Hero ---------- */
.bay-opener { padding-bottom: 2.5rem; }
.bay-opener-inner {
  display: grid;
  gap: 2.5rem;
  padding-top: 2.5rem;
}
.bay-opener-copy { text-align: center; }
.bay-opener-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.bay-opener-copy h1 .highlight {
  background: var(--iri);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bay-opener-sub {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 1.6rem;
}
.bay-opener-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.bay-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-grad);
  color: var(--btn-text);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 26px rgba(232, 149, 46, 0.35);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.bay-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(232, 149, 46, 0.45); }
.bay-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border-hi);
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.18s, background 0.18s;
}
.bay-btn-ghost:hover { border-color: var(--teal); background: var(--teal-dim); }

/* Screenshot fan */
.bay-opener-visual { display: none; }
@media (min-width: 1024px) {
  .bay-opener-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    padding-top: 3rem;
  }
  .bay-opener-copy { text-align: left; }
  .bay-opener-sub { margin: 0 0 1.6rem; }
  .bay-opener-ctas { justify-content: flex-start; }
  .bay-opener-visual {
    display: block;
    position: relative;
    height: 380px;
  }
}
.bay-shot {
  position: absolute;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-hi);
  background: var(--surface-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.bay-shot::before {
  content: '';
  display: block;
  height: 22px;
  background: #10151F;
  border-bottom: 1px solid var(--border);
  background-image: radial-gradient(circle 4px at 14px 11px, #F0716A 4px, transparent 5px),
    radial-gradient(circle 4px at 30px 11px, #F6C453 4px, transparent 5px),
    radial-gradient(circle 4px at 46px 11px, #2DD4BF 4px, transparent 5px);
}
.bay-shot img { display: block; width: 100%; height: auto; }
.bay-shot-1 { width: 62%; left: 16%; top: 8px; z-index: 3; }
.bay-shot-2 { width: 46%; left: 0; top: 68px; z-index: 2; transform: rotate(-5deg); opacity: 0.9; }
.bay-shot-3 { width: 46%; right: 0; top: 84px; z-index: 1; transform: rotate(5deg); opacity: 0.9; }
.bay-shot-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold-grad);
  color: var(--btn-text);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  right: 12%;
  top: -8px;
}
.bay-shot-chip small { font-weight: 600; font-size: 0.72rem; }

/* Disclosure strip */
.bay-notice {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.75rem 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.bay-notice a { color: var(--text-2); text-decoration: underline; }
.bay-notice a:hover { color: var(--teal); }

/* ---------- Shared section shell ---------- */
.bay-section { padding: 3.5rem 0 0; }
.bay-section:last-of-type { padding-bottom: 3.5rem; }
.bay-head {
  max-width: 640px;
  margin: 0 auto 1.8rem;
  text-align: center;
}
.bay-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.55rem;
  position: relative;
  padding-bottom: 0.65rem;
}
.bay-head h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: var(--iri);
}
.bay-head p { color: var(--text-2); font-size: 0.98rem; line-height: 1.65; }

/* ---------- Category bento ---------- */
.bay-mosaic {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .bay-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .bay-mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
      "pokies pokies live crypto"
      "pokies pokies apps safest"
      "bonus bonus more more";
  }
  .bay-tile--pokies { grid-area: pokies; }
  .bay-tile--live { grid-area: live; }
  .bay-tile--crypto { grid-area: crypto; }
  .bay-tile--apps { grid-area: apps; }
  .bay-tile--safest { grid-area: safest; }
  .bay-tile--offer { grid-area: bonus; }
  .bay-tile--more { grid-area: more; }
}
.bay-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 210px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.bay-tile--pokies { min-height: 300px; }
.bay-tile img.bay-tile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.bay-tile:hover img.bay-tile-bg { transform: scale(1.05); }
.bay-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 20, 0.05) 30%, rgba(10, 13, 20, 0.88) 82%);
}
.bay-tile-body {
  position: relative;
  z-index: 1;
  padding: 1.1rem 1.2rem 1.15rem;
}
.bay-tile-body h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.bay-tile--pokies .bay-tile-body h3 { font-size: 1.35rem; }
.bay-tile-body p { font-size: 0.85rem; color: var(--text-2); line-height: 1.5; }
.bay-tile-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s;
  font-size: 1.05rem;
  color: var(--text);
}
.bay-tile:hover .bay-tile-arrow { background: var(--teal-dim); border-color: var(--teal); color: var(--teal); }

/* "More lists" text tile */
.bay-tile--more {
  background: var(--surface-2);
  justify-content: center;
}
.bay-tile--more::after { display: none; }
.bay-more-body { padding: 1.2rem 1.3rem; }
.bay-more-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}
.bay-more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bay-more-links a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.bay-more-links a:hover { color: var(--teal); border-color: var(--teal); background: var(--teal-dim); }

/* ---------- Top 3 podium ---------- */
.bay-podium {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) { .bay-podium { grid-template-columns: 1fr 1.12fr 1fr; } }
.bay-dais {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease), border-color 0.2s;
}
.bay-dais:hover { transform: translateY(-4px); border-color: var(--border-hi); }
.bay-dais--first { border-color: rgba(246, 196, 83, 0.45); }
.bay-dais--first:hover { border-color: var(--gold); }
.bay-dais-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.bay-dais-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.bay-dais-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #171006;
  background: linear-gradient(135deg, #C9CFDB, #8E97A8);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.bay-dais--first .bay-dais-rank { background: var(--gold-grad); }
.bay-dais--third .bay-dais-rank { background: linear-gradient(135deg, #E2A377, #B0714A); }
.bay-dais-badge {
  position: absolute;
  top: 14px;
  right: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--btn-text);
  background: var(--gold-grad);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.bay-dais-body { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.bay-dais-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}
.bay-dais-title h3 { font-family: var(--font-display); font-size: 1.2rem; }
.bay-dais-pts {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--gold);
}
.bay-dais-pts small { font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.bay-dais-for { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); }
.bay-dais-body p { font-size: 0.88rem; color: var(--text-2); line-height: 1.55; }
.bay-dais-offer {
  font-size: 0.86rem;
  color: var(--text);
  background: var(--gold-dim);
  border: 1px solid rgba(246, 196, 83, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.8rem;
}
.bay-dais-ctas { display: flex; gap: 8px; margin-top: auto; padding-top: 0.4rem; }
.bay-dais-ctas .bay-btn-gold { flex: 1; justify-content: center; padding: 0.65rem 0.8rem; font-size: 0.88rem; }
.bay-dais-ctas .bay-btn-ghost { flex: 1; justify-content: center; padding: 0.65rem 0.8rem; font-size: 0.88rem; }
.bay-podium-note { text-align: center; margin-top: 1.5rem; }
.bay-podium-note a { color: var(--teal); font-weight: 600; }
.bay-podium-note a:hover { text-decoration: underline; }

/* ---------- Law banner ---------- */
.bay-law {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-hi);
  background: var(--surface);
}
.bay-law-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.bay-law::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 16, 0.88) 0%, rgba(8, 10, 16, 0.62) 48%, rgba(8, 10, 16, 0.90) 100%);
}
.bay-law-body {
  position: relative;
  z-index: 1;
  padding: 2.2rem 1.4rem;
  margin: 0 auto;
  max-width: 880px;
  text-align: center;
}
@media (min-width: 900px) { .bay-law-body { padding: 3.2rem 3rem 3rem; } }
.bay-law-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 0.7rem;
  position: relative;
  padding-bottom: 0.65rem;
}
.bay-law-body h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: var(--iri);
}
.bay-law-body > p {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 auto 1.8rem;
  max-width: 620px;
}
.bay-law-ladder {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 1.9rem;
}
@media (min-width: 760px) { .bay-law-ladder { grid-template-columns: repeat(4, 1fr); } }
.bay-law-rung { text-align: center; }
.bay-law-rung::before {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--iri);
  margin: 0 auto 0.55rem;
}
.bay-law-rung strong { display: block; font-size: 0.85rem; color: var(--text); }
.bay-law-rung span { font-size: 0.76rem; color: var(--muted); }
.bay-law-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }

/* ---------- Checks strip ---------- */
.bay-checks {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .bay-checks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bay-checks { grid-template-columns: repeat(4, 1fr); } }
.bay-check {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  text-align: center;
}
.bay-check-ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
}
.bay-check:nth-child(1) .bay-check-ic { background: var(--teal-dim); }
.bay-check:nth-child(2) .bay-check-ic { background: var(--violet-dim); }
.bay-check:nth-child(3) .bay-check-ic { background: var(--gold-dim); }
.bay-check:nth-child(4) .bay-check-ic { background: rgba(91, 141, 239, 0.12); }
.bay-check-ic img { filter: invert(96%); }
.bay-check h3 { font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 0.4rem; }
.bay-check p { font-size: 0.86rem; color: var(--text-2); line-height: 1.55; }

/* ---------- Payments ---------- */
.bay-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (min-width: 640px) { .bay-pay-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .bay-pay-grid { grid-template-columns: repeat(6, 1fr); } }
.bay-pay {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bay-pay img { width: 100%; max-width: 128px; height: auto; display: block; }
.bay-pay-links { margin-top: 1.3rem; font-size: 0.9rem; color: var(--text-2); text-align: center; }
.bay-pay-links a { color: var(--teal); font-weight: 600; }
.bay-pay-links a:hover { text-decoration: underline; }

/* ---------- Reviews rail ---------- */
.bay-rail-wrap { position: relative; }
.bay-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 250px;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 0.9rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--border-hi) transparent;
}
.bay-rail::-webkit-scrollbar { height: 6px; }
.bay-rail::-webkit-scrollbar-track { background: transparent; }
.bay-rail::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 4px; }
.bay-rail-card {
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s var(--ease);
  display: flex;
  flex-direction: column;
}
.bay-rail-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.bay-rail-shot { aspect-ratio: 16 / 10; overflow: hidden; }
.bay-rail-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.bay-rail-body {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.bay-rail-body h3 { font-size: 0.95rem; font-family: var(--font-display); }
.bay-rail-body h3 small { display: block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; color: var(--muted); margin-top: 2px; }
.bay-rail-pts {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--gold);
  background: var(--gold-dim);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
}
.bay-rail-all {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--surface-2);
  border: 1px dashed var(--border-hi);
  border-radius: var(--radius);
  color: var(--text-2);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s;
}
.bay-rail-all:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- Stats + RG duo ---------- */
.bay-pair { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .bay-pair { grid-template-columns: 1fr 1fr; } }
.bay-pair-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  display: flex;
  flex-direction: column;
}
.bay-pair-card h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.6rem; }
.bay-pair-card > p { font-size: 0.92rem; color: var(--text-2); line-height: 1.6; margin-bottom: 1.2rem; }
.bay-pair-cta { margin-top: auto; }
.bay-pair-cta a { color: var(--teal); font-weight: 600; font-size: 0.92rem; }
.bay-pair-cta a:hover { text-decoration: underline; }
.bay-chart { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.3rem; }
.bay-bar { display: grid; grid-template-columns: 118px 1fr 66px; align-items: center; gap: 10px; font-size: 0.82rem; }
.bay-bar span:first-child { color: var(--text-2); }
.bay-bar-track { background: var(--surface-3); border-radius: 4px; height: 12px; overflow: hidden; }
.bay-bar-fill { height: 100%; border-radius: 4px; background: var(--iri); }
.bay-bar strong { text-align: right; color: var(--text); font-size: 0.82rem; }
.bay-help-num {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--teal-dim);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.1rem;
}
.bay-help-num img { filter: invert(96%); flex-shrink: 0; }
.bay-help-num strong { font-size: 1.05rem; }
.bay-help-num span { display: block; font-size: 0.78rem; color: var(--text-2); }
.bay-rg-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.2rem; }
.bay-rg-list li {
  font-size: 0.88rem;
  color: var(--text-2);
  padding-left: 1.4rem;
  position: relative;
}
.bay-rg-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  background: url('/icons/check-circle-fill.svg') no-repeat center / contain;
  filter: invert(70%) sepia(40%) saturate(500%) hue-rotate(120deg);
}

/* ---------- Author band ---------- */
.bay-scribe {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 760px) { .bay-scribe { grid-template-columns: 240px 1fr; } }
.bay-scribe-photo { position: relative; min-height: 240px; }
.bay-scribe-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.bay-scribe-body { padding: 1.7rem 1.7rem 1.6rem; }
.bay-scribe-body h2 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 0.2rem; }
.bay-scribe-role { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 0.8rem; }
.bay-scribe-body p { font-size: 0.92rem; color: var(--text-2); line-height: 1.65; margin-bottom: 1rem; }
.bay-scribe-links { display: flex; flex-wrap: wrap; gap: 0.9rem; font-size: 0.9rem; }
.bay-scribe-links a { color: var(--teal); font-weight: 600; }
.bay-scribe-links a:hover { text-decoration: underline; }

/* ---------- Mobile polish ---------- */
@media (max-width: 639px) {
  .bay-tile { min-height: 190px; }
  .bay-law-body { padding: 1.8rem 1.2rem; }
  .bay-scribe-photo { min-height: 300px; }
}
