@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ============ 2. reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, li, figure, figcaption, blockquote, dl, dd, table, th, td {
  margin: 0; padding: 0;
}
ul[class], ol[class] { list-style: none; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

/* ============ 3. :root ============ */
:root {
  --bg-base:   #f5ecda;
  --bg-card:   #fffbf2;
  --accent:    #0e5b3d;
  --highlight: #a8761d;
  --text:      #231c12;
  --muted:     #6a5b45;
  --border:    #e0cfae;

  --ff-display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --ff-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-xs: 0.78rem;
  --fs-sm: 0.88rem;
  --fs-md: 1rem;
  --fs-lg: 1.12rem;
  --fs-h4: 1.15rem;
  --fs-h3: 1.32rem;
  --fs-h2: 1.62rem;
  --fs-h1: 2.05rem;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-pill: 999px;

  --sp: 1rem;
  --tr: 180ms ease;
  --shadow: 0 2px 0 var(--border), 0 10px 26px -18px rgba(35, 28, 18, 0.55);
}

/* ============ 4. html/body + scrollbar ============ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: var(--fs-md);
  line-height: 1.68;
  color: var(--text);
  background-color: var(--bg-base);
  background-image:
    radial-gradient(circle at 12% 4%, rgba(168, 118, 29, 0.10), transparent 42%),
    radial-gradient(circle at 92% 0%, rgba(14, 91, 61, 0.11), transparent 38%);
  background-attachment: fixed;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--bg-card); }
body::-webkit-scrollbar { width: 11px; }
body::-webkit-scrollbar-track { background: var(--bg-base); }
body::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--r-pill); }
body::-webkit-scrollbar-thumb:hover { background: var(--highlight); }

/* ============ 5. type scale ============ */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 700; line-height: 1.18; color: var(--text); }
h1 { font-size: var(--fs-h1); letter-spacing: -0.4px; }
h2 { font-size: var(--fs-h2); margin-bottom: 0.7rem; }
h3 { font-size: var(--fs-h3); margin-bottom: 0.45rem; }
h4 { font-size: var(--fs-h4); font-weight: 600; margin-bottom: 0.35rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
small { font-size: var(--fs-sm); }
a.j5w_lnk { color: var(--accent); font-weight: 600; border-bottom: 1px solid var(--border); transition: var(--tr); }
a.j5w_lnk:hover { border-bottom-color: var(--accent); }

/* ============ 6. container ============ */
.j5w_wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.05rem; }
.j5w_narrow { max-width: 820px; }

/* ============ 7. buttons ============ */
.j5w_btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 46px; padding: 0.6rem 1.25rem;
  font-family: var(--ff-body); font-weight: 700; font-size: var(--fs-sm); letter-spacing: 0.3px;
  border-radius: var(--r-pill); border: 2px solid transparent;
  text-align: center; transition: transform var(--tr), background var(--tr), color var(--tr), border-color var(--tr);
}
.j5w_btn:hover { transform: translateY(-2px); }
.j5w_btn:active { transform: translateY(0); }
.j5w_btn--pri { background: var(--accent); color: var(--bg-card); }
.j5w_btn--pri:hover { background: #0a4530; }
.j5w_btn--hl { background: var(--highlight); color: #fffdf7; }
.j5w_btn--hl:hover { background: #8d6116; }
.j5w_btn--out { border-color: var(--accent); color: var(--accent); background: var(--bg-card); }
.j5w_btn--out:hover { background: var(--accent); color: var(--bg-card); }
.j5w_btn--ghost { color: var(--muted); border-color: var(--border); }
.j5w_btn--ghost:hover { color: var(--text); border-color: var(--highlight); }
.j5w_btn--sm { min-height: 44px; padding: 0.4rem 0.95rem; font-size: var(--fs-xs); }
.j5w_btn--lg { min-height: 54px; padding: 0.85rem 1.7rem; font-size: var(--fs-md); }
.j5w_btn--full { display: flex; width: 100%; }

/* ============ 8. nav + mobile nav ============ */
.j5w_hdr {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 251, 242, 0.96);
  border-bottom: 2px solid var(--border);
  backdrop-filter: blur(7px);
}
.j5w_nav { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; min-height: 62px; }
.j5w_brand { display: flex; align-items: center; gap: 0.55rem; }
.j5w_brand img { width: 168px; height: 40px; }
.j5w_links { display: none; }
.j5w_links a {
  font-size: var(--fs-sm); font-weight: 600; color: var(--muted);
  padding: 0.35rem 0.15rem; border-bottom: 2px solid transparent; transition: var(--tr);
}
.j5w_links a:hover { color: var(--text); border-bottom-color: var(--highlight); }
.j5w_links a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.j5w_navcta { display: none; }
.j5w_burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 10px;
  border: 2px solid var(--border); border-radius: var(--r-md);
}
.j5w_burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: var(--tr); }
.j5w_burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.j5w_mobnav { display: none; padding-bottom: 1rem; border-top: 1px dashed var(--border); }
.j5w_mobnav.open { display: block; }
.j5w_mobnav a {
  display: block; padding: 0.72rem 0.2rem; font-weight: 600; font-size: var(--fs-sm);
  border-bottom: 1px solid var(--border);
}
.j5w_mobnav .j5w_btn { margin-top: 0.9rem; }

/* ============ 9. ticker — not used on this site ============ */

/* ============ 10. hero (LAYOUT E — magazine columns) ============ */
.j5w_hero { padding: 2.1rem 0 1.6rem; }
.j5w_hero h1 { margin-bottom: 0.75rem; }
.j5w_kicker {
  display: inline-block; margin-bottom: 0.7rem; padding: 0.25rem 0.8rem;
  font-family: var(--ff-display); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg-card);
}
.j5w_lede { font-size: var(--fs-lg); color: var(--text); }
.j5w_mag { display: grid; gap: 1.5rem; margin-top: 1.4rem; }
.j5w_magcol > * + * { margin-top: 1rem; }
.j5w_heroacts { display: grid; gap: 0.7rem; margin-top: 1.2rem; }

/* offer banner — rebuilt in brand colours, no external image */
.j5w_offer {
  position: relative; overflow: hidden;
  padding: 1.5rem 1.25rem; border-radius: var(--r-lg);
  border: 2px solid var(--highlight);
  background:
    linear-gradient(150deg, #0b3f2c 0%, #123f36 45%, #2c2140 100%);
  color: #f6ecd6; box-shadow: var(--shadow);
}
.j5w_offer::after {
  content: ""; position: absolute; inset: auto -30% -55% auto; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(243, 207, 134, 0.28), transparent 68%);
}
.j5w_offer p { color: #e7dcc4; }
.j5w_offer-lbl {
  font-family: var(--ff-display); font-size: var(--fs-xs); letter-spacing: 2.2px;
  text-transform: uppercase; color: #f3cf86;
}
.j5w_offer-fig {
  font-family: var(--ff-display); font-weight: 700; line-height: 1; margin: 0.35rem 0 0.15rem;
  font-size: 3rem; color: #fff;
  text-shadow: 0 3px 0 rgba(168, 118, 29, 0.65);
}
.j5w_offer-sub { font-size: var(--fs-lg); font-weight: 700; color: #f3cf86; margin-bottom: 0.8rem; }
.j5w_offer ul { margin: 0.9rem 0; display: grid; gap: 0.4rem; }
.j5w_offer li { position: relative; padding-left: 1.35rem; font-size: var(--fs-sm); color: #e7dcc4; }
.j5w_offer li::before {
  content: "✦"; position: absolute; left: 0; top: -1px; color: #f3cf86;
}
.j5w_offer .j5w_btn { position: relative; z-index: 1; }
.j5w_offer-fine { font-size: var(--fs-xs); color: #c3b79c; margin-top: 0.75rem; }

/* ============ 11. trust bar ============ */
.j5w_trust { border-block: 2px solid var(--border); background: var(--bg-card); }
.j5w_trust ul { display: grid; gap: 0.65rem; padding: 1rem 0; }
.j5w_trust li { display: flex; align-items: baseline; gap: 0.5rem; font-size: var(--fs-sm); }
.j5w_trust b { font-family: var(--ff-display); color: var(--accent); font-size: var(--fs-md); }
.j5w_trust span { color: var(--muted); }

/* ============ 12. content sections ============ */
.j5w_sec { padding: 2.1rem 0; border-top: 1px dashed var(--border); }
.j5w_sec:first-of-type { border-top: 0; }
.j5w_sec > p, .j5w_sec > ul, .j5w_sec > ol { margin-bottom: 1rem; }
.j5w_sec h3 { margin-top: 1.4rem; }
.j5w_bc { padding: 0.8rem 0 0; font-size: var(--fs-xs); color: var(--muted); }
.j5w_bc a { border-bottom: 1px solid var(--border); }
.j5w_bc span { margin-inline: 0.35rem; }

.j5w_list { display: grid; gap: 0.55rem; margin-bottom: 1rem; }
.j5w_list li { position: relative; padding-left: 1.5rem; }
.j5w_list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px;
  background: var(--highlight); transform: rotate(45deg);
}
.j5w_steps { counter-reset: st; display: grid; gap: 0.9rem; margin-bottom: 1rem; }
.j5w_steps li { counter-increment: st; position: relative; padding-left: 2.7rem; }
.j5w_steps li::before {
  content: counter(st); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; display: grid; place-items: center;
  font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-sm);
  color: var(--bg-card); background: var(--accent); border-radius: 50%;
}
.j5w_steps b { display: block; }

.j5w_card {
  padding: 1.1rem 1.05rem; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow);
}
.j5w_card h3, .j5w_card h4 { color: var(--accent); }
.j5w_grid { display: grid; gap: 1rem; margin-bottom: 1rem; }
.j5w_note {
  padding: 0.95rem 1.05rem; margin-bottom: 1rem;
  border-left: 4px solid var(--highlight); border-radius: 0 var(--r-md) var(--r-md) 0;
  background: rgba(168, 118, 29, 0.09); font-size: var(--fs-sm);
}
.j5w_note b { color: var(--highlight); }
.j5w_flag {
  padding: 0.95rem 1.05rem; margin-bottom: 1rem;
  border-left: 4px solid var(--accent); border-radius: 0 var(--r-md) var(--r-md) 0;
  background: rgba(14, 91, 61, 0.08); font-size: var(--fs-sm);
}

/* key-value quick facts */
.j5w_kv { display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--bg-card); }
.j5w_kv div { display: flex; flex-wrap: wrap; gap: 0.3rem 0.7rem; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--border); font-size: var(--fs-sm); }
.j5w_kv div:last-child { border-bottom: 0; }
.j5w_kv dt { font-weight: 700; color: var(--muted); min-width: 130px; }
.j5w_kv dd { color: var(--text); }

/* tables */
.j5w_tblwrap { overflow-x: auto; margin-bottom: 1.1rem; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg-card); }
.j5w_tbl { min-width: 460px; font-size: var(--fs-sm); }
.j5w_tbl caption { padding: 0.7rem 0.9rem; text-align: left; font-weight: 700; color: var(--muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.8px; }
.j5w_tbl th, .j5w_tbl td { padding: 0.62rem 0.9rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.j5w_tbl thead th { background: var(--accent); color: #f4e8cf; font-family: var(--ff-display); font-size: var(--fs-xs); letter-spacing: 0.6px; text-transform: uppercase; }
.j5w_tbl tbody tr:last-child th, .j5w_tbl tbody tr:last-child td { border-bottom: 0; }
.j5w_tbl tbody tr:nth-child(even) { background: rgba(224, 207, 174, 0.22); }
.j5w_tbl td b { color: var(--accent); }

/* pokies tiles */
.j5w_tiles { display: grid; gap: 0.7rem; grid-template-columns: repeat(2, 1fr); margin-bottom: 1rem; }
.j5w_tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 108px; padding: 0.7rem 0.65rem; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: linear-gradient(160deg, #123f36, #2c2140);
  color: #f6ecd6;
}
.j5w_tile::before {
  content: ""; position: absolute; inset: -40% 40% 40% -40%;
  background: radial-gradient(circle, rgba(243, 207, 134, 0.22), transparent 70%);
}
.j5w_tile b { position: relative; font-family: var(--ff-display); font-size: var(--fs-sm); line-height: 1.25; }
.j5w_tile span { position: relative; font-size: var(--fs-xs); color: #c3b79c; }
.j5w_tile--gem { background: linear-gradient(160deg, #4a3410, #1b3a2c); }

/* payments + providers */
.j5w_pay { display: grid; gap: 0.7rem; margin-bottom: 1rem; }
.j5w_payrow {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.75rem 0.9rem; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--r-md);
}
.j5w_payrow svg { flex: 0 0 auto; }
.j5w_payrow b { display: block; font-size: var(--fs-sm); }
.j5w_payrow span { display: block; font-size: var(--fs-xs); color: var(--muted); }
.j5w_chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.j5w_chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.36rem 0.75rem; font-size: var(--fs-xs); font-weight: 600;
  border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg-card);
}
.j5w_chip svg { flex: 0 0 auto; }
.j5w_chip--on { border-color: var(--accent); color: var(--accent); }

/* screenshots */
.j5w_shot { margin: 1.1rem 0; }
.j5w_shot img { border: 2px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow); }
.j5w_shot figcaption { margin-top: 0.5rem; font-size: var(--fs-xs); color: var(--muted); }

/* ============ 13. FAQ accordion ============ */
.j5w_faq { display: grid; gap: 0.6rem; }
.j5w_faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.j5w_faq-item.open { border-color: var(--highlight); }
.j5w_faq-btn {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.9rem;
  width: 100%; min-height: 46px; padding: 0.85rem 0.95rem; text-align: left;
  font-family: var(--ff-display); font-weight: 600; font-size: var(--fs-md); line-height: 1.35;
}
.j5w_faq-btn::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--highlight); }
.j5w_faq-item.open .j5w_faq-btn::after { content: "–"; }
.j5w_faq-a { display: none; padding: 0 0.95rem 1rem; font-size: var(--fs-sm); }
.j5w_faq-item.open .j5w_faq-a { display: block; }

/* ============ 14. CTA band ============ */
.j5w_band {
  margin: 2rem 0 0; padding: 1.6rem 0;
  background: linear-gradient(140deg, #0b3f2c, #2c2140);
  color: #f6ecd6; border-block: 2px solid var(--highlight);
}
.j5w_band h2 { color: #fff; }
.j5w_band p { color: #d9cdb4; }
.j5w_band .j5w_btn { margin-top: 0.9rem; }

/* ============ 15. footer ============ */
.j5w_ftr { padding: 2rem 0 5.6rem; background: var(--bg-card); border-top: 2px solid var(--border); font-size: var(--fs-sm); }
.j5w_ftrgrid { display: grid; gap: 1.4rem; }
.j5w_ftr h4 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.j5w_ftr nav a { display: block; padding: 0.24rem 0; color: var(--muted); }
.j5w_ftr nav a:hover { color: var(--accent); }
.j5w_badges { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.7rem 0; }
.j5w_badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.34rem 0.7rem; font-size: var(--fs-xs); font-weight: 700;
  border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--muted); background: var(--bg-base);
}
.j5w_badge--age { border-color: var(--highlight); color: var(--highlight); }
.j5w_upd { display: inline-block; margin-top: 0.5rem; font-size: var(--fs-xs); color: var(--muted); }
.j5w_fine { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px dashed var(--border); font-size: var(--fs-xs); color: var(--muted); }

/* ============ 16. sticky mobile CTA ============ */
.j5w_sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(255, 251, 242, 0.97); border-top: 2px solid var(--highlight);
  backdrop-filter: blur(6px);
}
.j5w_sticky .j5w_btn { width: 100%; }

/* ============ 17. animations ============ */
@keyframes j5w-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.j5w_hero h1, .j5w_offer { animation: j5w-rise 460ms ease both; }
.j5w_offer { animation-delay: 90ms; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ============ 18. responsive ============ */
@media (min-width: 480px) {
  :root { --fs-h1: 2.35rem; --fs-h2: 1.74rem; }
  .j5w_heroacts { grid-auto-flow: column; justify-content: start; }
  .j5w_offer-fig { font-size: 3.6rem; }
  .j5w_tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  :root { --fs-h1: 2.7rem; --fs-h2: 1.92rem; --fs-h3: 1.42rem; }
  .j5w_burger, .j5w_mobnav, .j5w_sticky { display: none; }
  .j5w_links { display: flex; gap: 1.05rem; }
  .j5w_navcta { display: inline-flex; }
  .j5w_trust ul { grid-template-columns: repeat(2, 1fr); }
  .j5w_grid { grid-template-columns: repeat(2, 1fr); }
  .j5w_pay { grid-template-columns: repeat(2, 1fr); }
  .j5w_ftrgrid { grid-template-columns: 1.4fr 1fr 1fr; }
  .j5w_ftr { padding-bottom: 2rem; }
  .j5w_offer { padding: 2rem 1.8rem; }
  .j5w_sec { padding: 2.6rem 0; }
}
@media (min-width: 1024px) {
  :root { --fs-h1: 3rem; }
  .j5w_mag { grid-template-columns: 1.15fr 0.95fr 0.9fr; align-items: start; }
  .j5w_mag--two { grid-template-columns: 1.35fr 1fr; }
  .j5w_trust ul { grid-template-columns: repeat(4, 1fr); }
  .j5w_tiles { grid-template-columns: repeat(4, 1fr); }
  .j5w_hero { padding: 3rem 0 2rem; }
  .j5w_grid--3 { grid-template-columns: repeat(3, 1fr); }
}
