/* ==========================================================================
   GWIN9 Australia — homepage styles
   ========================================================================== */

:root {
  --red: #e30613;
  --red-dark: #a3000c;
  --red-glow: rgba(227, 6, 19, .55);
  --gold: #f5c33b;
  --bg: #0a0405;
  --panel: #140a0c;
  --panel-2: #1c0e11;
  --line: rgba(227, 6, 19, .32);
  --text: #ffffff;
  --muted: #a9a0a2;
  --radius: 10px;
  --maxw: 1200px;
  --header-h: 74px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg) url("../assets/fb1d25e7637760648a104.jpg") no-repeat center top;
  background-size: 100% auto;
  background-attachment: fixed;
  color: var(--text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; border: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 12px; }

/* ---------- Section heading ---------- */
.sec { margin: 26px 0; }

.sec-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.sec-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sec-head h2 span { color: var(--red); }

.sec-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.sec-head .more {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sec-head .more:hover { color: var(--red); }

/* ---------- Announcement marquee ---------- */
.notice {
  background: #000 url("../assets/fb2564e4d0d4672d2d963.jpg") repeat-x center/auto 100%;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.notice .wrap { display: flex; align-items: center; gap: 10px; height: 32px; }
.notice .ico { width: 18px; flex: none; }

.notice-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.notice-track span {
  display: inline-block;
  padding-left: 100%;
  font-size: 12px;
  color: #ffd9da;
  animation: marquee 26s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, #1a0004 0%, #0b0203 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 22px rgba(0, 0, 0, .7);
}

.header .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  height: var(--header-h);
}

.logo { flex: none; }
.logo img { height: 58px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
}

.nav a {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #ddd3d4;
  border-radius: 6px;
  transition: color .18s, background .18s;
}

.nav a:hover,
.nav a.active { color: #fff; background: rgba(227, 6, 19, .22); }

.head-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.lang img { width: 22px; border-radius: 3px; }

.btn-img img { height: 38px; width: auto; transition: transform .18s, filter .18s; }
.btn-img:hover img { transform: translateY(-1px); filter: brightness(1.12); }

.menu-toggle { display: none; background: none; border: 0; padding: 0; }
.menu-toggle img { height: 34px; width: auto; }

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: 268px;
  max-width: 82vw;
  z-index: 90;
  background: var(--panel);
  border-left: 1px solid var(--line);
  padding: 18px 16px;
  transform: translateX(100%);
  transition: transform .28s ease;
  overflow-y: auto;
}

.drawer.open { transform: translateX(0); }
.drawer h3 { margin: 0 0 14px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.drawer a {
  display: block;
  padding: 11px 6px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.drawer a:hover { color: var(--red); }

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, .65);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s, visibility .28s;
}
.backdrop.show { opacity: 1; visibility: visible; }

/* ---------- Hero slider ---------- */
.hero { margin-top: 16px; }

.slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 26px rgba(0, 0, 0, .6);
}

.slides { display: flex; align-items: flex-start; transition: transform .5s ease; }

/* Every slide gets the same shape: cropped to fit, never stretched */
.slides img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  object-position: 50% 30%;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 46px;
  border: 0;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  border-radius: 6px;
  transition: background .18s;
}
.slider-btn:hover { background: var(--red); }
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
}
.dots button.active { background: var(--red); box-shadow: 0 0 8px var(--red-glow); }

/* ---------- Quick action bar ---------- */
.quick {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 6px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(30, 8, 11, .9), rgba(10, 4, 5, .9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quick img { height: 46px; width: auto; transition: transform .18s, filter .18s; }
.quick a:hover img { transform: translateY(-2px); filter: brightness(1.15); }

/* ---------- Partner strip ---------- */
.partner-banner img { width: 100%; border-radius: var(--radius); }

.partner-btns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.partner-btns img { width: 100%; border-radius: 6px; transition: transform .18s, filter .18s; }
.partner-btns a:hover img { transform: translateY(-2px); filter: brightness(1.12); }

/* ---------- Category icons ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.cats a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 6px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.cats a:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(227, 6, 19, .3);
}

.cats img { width: 96px; }

/* ---------- Game tabs + grid ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.tabs button {
  padding: 0;
  background: none;
  border: 0;
  border-radius: 999px;
  opacity: .55;
  filter: grayscale(.6);
  transition: opacity .18s, filter .18s, transform .18s;
}

.tabs button img { height: 40px; width: auto; }

.tabs button:hover { opacity: .85; filter: grayscale(.2); }

.tabs button.active {
  opacity: 1;
  filter: none;
  transform: translateY(-2px);
}

.games {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.game {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.game:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 10px 26px rgba(227, 6, 19, .32);
}

.game img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.game .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .62);
  opacity: 0;
  transition: opacity .2s;
}

.game:hover .play { opacity: 1; }

.game .play span {
  padding: 8px 20px;
  background: var(--red);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.load-more {
  display: block;
  margin: 18px auto 0;
  padding: 11px 40px;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(227, 6, 19, .35);
  transition: filter .18s, transform .18s;
}

.load-more:hover { filter: brightness(1.12); transform: translateY(-1px); }

/* ---------- Promotions ---------- */
.promo-strips { display: grid; gap: 12px; }
.promo-strips img { width: 100%; border-radius: var(--radius); }

.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.promo-grid a {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}

.promo-grid a:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0, 0, 0, .6); }
.promo-grid img { width: 100%; aspect-ratio: 740 / 288; object-fit: cover; }

/* ---------- Reward cards ---------- */
.rewards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.rewards a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.rewards a:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 10px 26px rgba(245, 195, 59, .22);
}

.rewards img { width: 100%; }

/* ---------- Leaderboard + referral ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.card > img { width: 100%; }
.card-body { padding: 14px; }

.rank-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  border-bottom: 1px dashed rgba(255, 255, 255, .1);
}

.rank-row:last-child { border-bottom: 0; }

.rank-no {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  font-size: 12px;
  font-weight: 800;
}

.rank-row:nth-child(1) .rank-no { background: linear-gradient(180deg, #f7d774, #c99a17); color: #2a1c00; }
.rank-row:nth-child(2) .rank-no { background: linear-gradient(180deg, #e4e4e4, #9d9d9d); color: #222; }
.rank-row:nth-child(3) .rank-no { background: linear-gradient(180deg, #e3a877, #a46a35); color: #2a1500; }

.rank-name { font-size: 13px; font-weight: 700; }
.rank-name small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.rank-amt { font-size: 13px; font-weight: 800; color: var(--gold); }

.ref-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ref-actions img { height: 40px; width: auto; }

.ref-link {
  flex: 1;
  min-width: 190px;
  padding: 10px 12px;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #ffb9bc;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Live transactions ---------- */
.trans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.trans-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: linear-gradient(90deg, var(--red-dark), transparent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.trans-head .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #37d67a;
  box-shadow: 0 0 8px #37d67a;
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  50% { opacity: .3; }
}

.trans-list { max-height: 260px; overflow: hidden; }

.trans-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.trans-row span:first-child { color: var(--muted); }
.trans-row .amt { font-weight: 800; color: var(--gold); }

/* ---------- Footer ---------- */
.footer {
  margin-top: 34px;
  padding: 28px 0 90px;
  background: linear-gradient(180deg, rgba(10, 4, 5, .4), #060203);
  border-top: 1px solid var(--line);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 26px 32px;
  margin-bottom: 24px;
}

.foot-brand img { width: 150px; margin-bottom: 10px; }
.foot-brand p { max-width: 320px; margin: 0 0 12px; font-size: 12.5px; color: var(--muted); }

.foot-badges { display: flex; flex-wrap: wrap; gap: 6px; }

.foot-col .foot-badges li {
  margin: 0;
  padding: 3px 10px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
}

/* Gambling-support panel above the copyright line */
.foot-help {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.foot-help p { margin: 0; font-size: 12.5px; color: var(--muted); }
.foot-help strong { color: #fff; }
.foot-help a { color: var(--gold); text-decoration: underline; }

.foot-col h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
}

.foot-col li { margin-bottom: 8px; }
.foot-col a { font-size: 12.5px; color: var(--muted); }
.foot-col a:hover { color: #fff; }

.foot-bar {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  color: var(--muted);
}

.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-left: auto; }
.foot-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.foot-legal a:hover,
.foot-legal a[aria-current="page"] { color: #fff; }

.age {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 2px solid var(--red);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
}

/* ---------- Floating spin icon ---------- */
.float-spin {
  position: fixed;
  right: 14px;
  bottom: 84px;
  z-index: 70;
  width: 84px;
}

.float-spin img { width: 100%; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .7)); }

/* ---------- Mobile bottom bar ---------- */
.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 75;
  display: none;
  background: linear-gradient(180deg, #1a0004, #080203);
  border-top: 1px solid var(--line);
}

.bottom-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 7px 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #cfc4c6;
}

.bottom-bar a img { width: 26px; }
.bottom-bar a.hot { color: var(--red); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .games { grid-template-columns: repeat(4, 1fr); }
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 62px; }

  .nav { display: none; }
  .menu-toggle { display: block; }
  .logo img { height: 46px; }
  .btn-img img { height: 32px; }
  .lang { display: none; }

  .two-col,
  .trans { grid-template-columns: 1fr; }

  .rewards { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .cats img { width: 76px; }

  .bottom-bar { display: flex; }
  .float-spin { width: 68px; bottom: 76px; }
  .footer { padding-bottom: 96px; }
}

@media (max-width: 560px) {
  .games { grid-template-columns: repeat(3, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-help { align-items: flex-start; }
  .quick img { height: 38px; }
  .sec-head h2 { font-size: 15px; }
  .tabs button img { height: 32px; }

  /* Taller slides on phones so banner text stays readable */
  .slides img { aspect-ratio: 740 / 288; }
  /* Phones swipe or tap the dots; arrows would cover banner text */
  .slider-btn { display: none; }
}

/* ==========================================================================
   Subpages (pokies.html)
   ========================================================================== */

/* ---------- Page hero ---------- */
.page-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  padding: 26px 28px;
  background:
    radial-gradient(circle at 85% 50%, rgba(227, 6, 19, .28), transparent 55%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 0 26px rgba(0, 0, 0, .6);
}

.page-hero-text { flex: 1; min-width: 0; }

.page-hero-art {
  flex: none;
  width: 190px;
  filter: drop-shadow(0 10px 24px rgba(227, 6, 19, .35));
}

.crumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--muted);
}

.crumbs a:hover { color: var(--red); }

.page-hero h1 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.page-hero h1 span { color: var(--red); }

.page-hero p { margin: 0 0 14px; max-width: 640px; color: #ddd3d4; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.hero-chips li {
  padding: 5px 12px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}

.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero-cta .btn-img img { height: 42px; }

/* ---------- Text blocks ---------- */
.lead { margin: -4px 0 14px; max-width: 780px; color: var(--muted); }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.info-grid.two { grid-template-columns: repeat(2, 1fr); }

.info-card,
.step,
.faq details {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-card { padding: 16px; }

.info-card h3,
.step h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold);
}

.info-card p,
.step p { margin: 0; font-size: 13px; color: #d6cccd; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step { position: relative; padding: 16px 16px 16px 62px; }

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  box-shadow: 0 0 10px var(--red-glow);
  font-weight: 800;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }

.faq summary {
  position: relative;
  padding: 14px 44px 14px 16px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 800;
  color: var(--red);
}

.faq details[open] summary::after { content: "\2013"; }
.faq details[open] { border-color: var(--red); }

.faq details p { margin: 0; padding: 0 16px 16px; font-size: 13px; color: #d6cccd; }

.faq a,
.safe-play a { color: var(--gold); text-decoration: underline; }

/* ---------- Play responsibly ---------- */
.safe-play {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
}

.safe-play h2 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.safe-play ul { margin-bottom: 10px; }
.safe-play li { position: relative; padding-left: 16px; margin-bottom: 4px; font-size: 13px; color: #d6cccd; }
.safe-play li::before { content: "\2022"; position: absolute; left: 2px; color: var(--red); }
.safe-play p { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.safe-play p:last-child { margin-bottom: 0; }

/* ---------- Long-form guide content (pokies page) ---------- */
.guide .sec-head h2 { white-space: normal; line-height: 1.25; }
.guide .sec-head::after { min-width: 40px; }

.prose { max-width: 880px; }
.prose p { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: #d6cccd; }
.prose > :last-child { margin-bottom: 0; }
.prose a:not(.btn-red) { color: var(--gold); text-decoration: underline; }

.prose .note {
  margin-top: 4px;
  padding: 10px 14px;
  background: rgba(245, 195, 59, .06);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #e9dfc4;
}

.prose .btn-red { margin-top: 6px; }

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }

.chip-list li {
  padding: 6px 14px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.guide .info-grid { margin: 14px 0; }
.info-grid.three { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 860px) {
  .info-grid.three { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .info-grid.three { grid-template-columns: 1fr; }
}
.info-card p + p { margin-top: 8px; }

.levels { margin-top: 10px; }

.levels li {
  padding: 9px 0;
  border-top: 1px dashed rgba(255, 255, 255, .1);
  font-size: 13px;
  color: #d6cccd;
}

.levels strong { display: block; margin-bottom: 2px; color: #fff; }

/* ---------- Promotion filter + cards ---------- */
.promo-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.promo-filter button {
  padding: 8px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #ddd3d4;
  transition: color .18s, border-color .18s, background .18s;
}

.promo-filter button:hover { color: #fff; border-color: var(--red); }

.promo-filter button.active {
  color: #fff;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  border-color: var(--red);
  box-shadow: 0 4px 14px rgba(227, 6, 19, .35);
}

.promo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.promo-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 16px);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.promo-card[hidden] { display: none; }

.promo-card:hover,
.promo-card:target {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 10px 26px rgba(227, 6, 19, .25);
}

.promo-card > img { width: 100%; aspect-ratio: 740 / 288; object-fit: cover; }

/* Wide strip banners: show whole image instead of cropping */
.promo-card > img.fit { object-fit: contain; padding: 10px; background: #0d0607; }

.promo-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 14px 16px 16px;
}

.promo-tag {
  align-self: flex-start;
  padding: 2px 10px;
  background: rgba(245, 195, 59, .12);
  border: 1px solid rgba(245, 195, 59, .4);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
}

.promo-body h3 { margin: 0; font-size: 16px; font-weight: 800; }
.promo-body p { margin: 0; font-size: 13px; color: #d6cccd; }

.promo-terms { margin-bottom: 6px; }

.promo-terms li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .1);
  font-size: 12.5px;
  color: var(--muted);
}

.promo-terms li:last-child { border-bottom: 0; }
.promo-terms strong { color: #fff; text-align: right; }

.promo-claim,
.btn-red {
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 22px;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(227, 6, 19, .35);
  transition: filter .18s, transform .18s;
}

.promo-claim:hover,
.btn-red:hover { filter: brightness(1.12); transform: translateY(-1px); }

.btn-red { display: inline-block; }

/* ---------- Referral page ---------- */
.page-hero-art.wide { width: 320px; filter: none; }

.ref-card { padding: 18px; }
.ref-card > p { margin: 0 0 4px; font-size: 13px; color: var(--muted); }

.copy-img { position: relative; padding: 0; background: none; border: 0; }

/* "Copied!" bubble after the referral link is copied */
.copy-img.copied::after {
  content: "Copied!";
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  background: var(--gold);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #1a1200;
  white-space: nowrap;
}

.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.share-label { margin-right: 4px; font-size: 12px; color: var(--muted); }

.share-btn {
  padding: 7px 16px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .18s, border-color .18s;
}

.share-btn:hover { background: rgba(227, 6, 19, .22); border-color: var(--red); }

.calc { display: grid; gap: 12px; padding: 18px; }
.calc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.calc label { font-weight: 700; }
.calc input[type="range"] { flex: 1; min-width: 160px; accent-color: var(--red); }
.calc output { min-width: 40px; font-size: 18px; font-weight: 800; }
.calc-total { font-size: 14px; color: var(--muted); }
.calc-total strong { margin-left: 6px; font-size: 26px; color: var(--gold); }
.calc small { font-size: 12px; color: var(--muted); }

.agent { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; }
.agent img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); }
.agent h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
.agent p { margin: 0 0 14px; color: #d6cccd; }

/* ---------- Legal pages (terms, privacy) ---------- */
.page-hero .updated { margin: 0; font-size: 12.5px; color: var(--muted); }

.legal {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin: 26px 0;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  padding: 16px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-toc summary {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  list-style: none;
  cursor: pointer;
}

.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc summary { position: relative; padding-right: 24px; }

.legal-toc summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: 18px;
}

.legal-toc[open] summary::after { content: "\2013"; }
.legal-toc ol { margin: 10px 0 0; padding: 0; list-style: none; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }

.legal-toc a {
  display: flex;
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
  color: #d6cccd;
}

.legal-toc a::before { content: counter(toc) "."; min-width: 20px; color: var(--muted); }
.legal-toc a:hover { color: #fff; }

.legal-body { max-width: 820px; counter-reset: sec; }

.legal-body section {
  counter-increment: sec;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.legal-body section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }

.legal-body h2 { margin: 0 0 10px; font-size: 17px; font-weight: 800; letter-spacing: .02em; }
.legal-body h2::before { content: counter(sec) ". "; color: var(--red); }

.legal-body p,
.legal-body li { font-size: 14px; line-height: 1.7; color: #d6cccd; }

.legal-body p { margin: 0 0 10px; }
.legal-body > section > :last-child { margin-bottom: 0; }
.legal-body ul { margin: 0 0 10px; }
.legal-body li { position: relative; margin-bottom: 4px; padding-left: 18px; }

.legal-body li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.legal-body strong { color: #fff; }
.legal-body a { color: var(--gold); text-decoration: underline; }

/* Business details still to be filled in */
.fill {
  padding: 0 4px;
  border: 1px dashed var(--gold);
  border-radius: 4px;
  color: var(--gold);
}

@media (max-width: 1024px) {
  .promo-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .page-hero { padding: 20px; }
  .page-hero h1 { font-size: 24px; }
  .page-hero-art { width: 130px; }
  .page-hero-art.wide { width: 240px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .agent { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; gap: 18px; }
  .legal-toc { position: static; }
}

@media (max-width: 560px) {
  .page-hero { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-hero-art { order: -1; width: 92px; }
  .page-hero-art.wide { order: 0; width: 100%; max-width: 360px; }
  .info-grid.two,
  .steps,
  .promo-cards { grid-template-columns: 1fr; }
  .hero-cta .btn-img img { height: 36px; }
}
