/* fairgo-casino-australia.com, 2026-11-12. Fair Go's colours from the
   site's own logo: yellow #F9C80E on bush green #0A5139. */
:root {
  --bg: #0a3a2a;
  --panel: #0f4a36;
  --band: #135c43;
  --line: #1d6b50;
  --text: #f2f7f3;
  --muted: #b9d3c6;
  --yellow: #f9c80e;
  --yellow-dark: #d9a900;
  --ink: #102018;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 Nunito, system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); }
h1, h2, h3 { font-family: "Baloo 2", Nunito, sans-serif; line-height: 1.15; margin: 1.6em 0 .5em; }
h1 { font-size: clamp(30px, 6vw, 46px); color: var(--yellow); margin-top: .4em; }
h2 { font-size: clamp(24px, 4.5vw, 32px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 820px; }

/* buttons */
.btn { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 800; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; text-align: center; box-shadow: 0 3px 0 var(--yellow-dark); transition: transform .1s; }
.btn:hover { transform: translateY(-1px); }
.btn-small { padding: 8px 16px; font-size: 15px; }
.btn-wide { display: block; max-width: 420px; margin: 2em auto; font-size: 19px; padding: 15px 22px; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--yellow); }

/* header */
.site-header { background: #072c20; border-bottom: 3px solid var(--yellow); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.logo img { width: 132px; }
.menu-toggle { display: none; }
.menu-button { display: none; font-size: 26px; cursor: pointer; margin-left: auto; }
.site-header .nav { display: flex; gap: 22px; margin-left: auto; }
.site-header .nav a { color: var(--text); text-decoration: none; font-weight: 700; }
.site-header .nav a[aria-current] { color: var(--yellow); }
@media (max-width: 760px) {
  .menu-button { display: block; }
  .site-header .nav { display: none; position: absolute; top: 69px; left: 0; right: 0; background: #072c20; flex-direction: column; gap: 0; padding: 8px 16px 14px; border-bottom: 3px solid var(--yellow); }
  .site-header .nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle:checked ~ .nav { display: flex; }
  .site-header .btn-small { margin-left: 0; }
}

/* page */
.intro { padding-top: 18px; }
.subtitle { color: var(--muted); font-size: 19px; }
section { margin-bottom: 8px; }
.draft { border: 2px dashed var(--yellow); padding: 12px 14px; border-radius: 10px; color: var(--muted); }
.table-scroll { overflow-x: auto; }
/* text under a table gets air above it, Elena 2026-11-16 */
.table-scroll + p { margin-top: 1.25em; }
table { border-collapse: collapse; width: 100%; background: var(--panel); border-radius: var(--radius); overflow: hidden; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }

/* the games page: tiles with two buttons */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 18px; margin: 18px 0 30px; }
.game-tile { background: var(--panel); border-radius: var(--radius); padding: 10px 10px 12px; display: flex; flex-direction: column; }
.tile-art img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.game-tile h3 { font-size: 16px; margin: 10px 2px 10px; line-height: 1.25; flex: 1; }
.game-tile h3 a { color: var(--text); text-decoration: none; }
.tile-buttons { display: grid; gap: 8px; }
.tile-buttons .btn { padding: 8px 10px; font-size: 14px; }
@media (max-width: 420px) {
  .game-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* a review: the band, the facts, the text */
.game-band { background: linear-gradient(180deg, var(--band), var(--panel)); border-bottom: 1px solid var(--line); padding: 26px 0; }
.game-band .wrap { display: flex; gap: 24px; align-items: center; max-width: 820px; }
.game-art { width: 150px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); flex: none; }
.game-head h1 { margin: 0 0 4px; }
.crumb { margin: 0 0 4px; font-size: 14px; }
.crumb a { color: var(--muted); }
.provider { color: var(--muted); margin-bottom: 14px; }
@media (max-width: 520px) {
  .game-band .wrap { gap: 16px; align-items: flex-start; }
  .game-art { width: 112px; }
  .game-head .btn { padding: 10px 18px; }
}
/* a review's free demo: the game's art blurred behind a button, the game
   itself only after a click, Stefano 2026-11-17 */
.demo { margin: 26px 0 6px; }
.demo-box { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #000;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.demo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(.55); transform: scale(1.15); }
.demo-box .btn { position: relative; border: 0; cursor: pointer; font-family: inherit; }
.demo-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo-note { color: var(--muted); font-size: 14px; text-align: center; margin: 8px 0 0; }
@media (max-width: 520px) {
  .demo-box { aspect-ratio: 3 / 4; }
}
.game-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0 10px; }
.game-facts > div { background: var(--panel); border-radius: 12px; padding: 10px 14px; }
.game-facts > div.wide { grid-column: 1 / -1; }
.game-facts dt { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.game-facts dd { margin: 2px 0 0; font-weight: 800; font-size: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tags span { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: 14px; font-weight: 700; }
@media (min-width: 700px) { .game-facts { grid-template-columns: repeat(3, 1fr); } }
.back { text-align: center; }

/* footer */
.site-footer { background: #072c20; margin-top: 50px; padding: 30px 0; border-top: 3px solid var(--yellow); color: var(--muted); font-size: 15px; }
.site-footer .nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0; }
.site-footer .nav a { color: var(--text); }

/* section headings under an h2 */
section > h3 { font-size: 22px; color: var(--yellow); margin-top: 1.2em; }
.more { text-align: right; font-weight: 800; }

/* fact tables: two columns, the label on the left */
table.facts th { width: 45%; color: var(--muted); font-weight: 700; }
table.facts td { font-weight: 800; }
thead th { background: #072c20; color: var(--yellow); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
/* a wide table becomes one card per row on a phone */
@media (max-width: 640px) {
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack { background: none; }
  table.stack thead { display: none; }
  /* one compact card per row: the first cell as its title, the rest two
     across, each with its small label */
  table.stack tr { background: var(--panel); border-radius: 12px; margin-bottom: 8px; padding: 8px 12px 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
  table.stack td { border: 0; padding: 0; font-weight: 700; font-size: 15px; }
  table.stack td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
  table.stack td:first-child { grid-column: 1 / -1; font-weight: 800; font-size: 17px; color: var(--yellow); }
  table.stack td:first-child::before { display: none; }
}

/* the welcome offer */
.offer { display: grid; grid-template-columns: 280px 1fr; gap: 26px; align-items: center; background: linear-gradient(135deg, var(--band), var(--panel)); border: 2px solid var(--yellow); border-radius: 20px; padding: 22px; margin: 10px 0 20px; }
.offer-pic img { border-radius: 14px; width: 100%; }
.boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.box { background: var(--bg); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; }
.box-label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.box-value { font-weight: 800; font-size: 20px; color: var(--text); }
button.box-value { background: none; border: 2px dashed var(--yellow); color: var(--yellow); border-radius: 8px; font: inherit; font-weight: 800; font-size: 20px; padding: 2px 8px; cursor: pointer; text-align: left; margin-top: 2px; }
.btn-big { font-size: 19px; padding: 14px 30px; }
@media (max-width: 760px) {
  .offer { grid-template-columns: 1fr; padding: 16px; }
  .offer-pic { max-width: 240px; margin: 0 auto; }
  .boxes { grid-template-columns: 1fr 1fr; }
  .btn-big { display: block; }
}

/* Fair Go's promotion cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin: 18px 0 30px; }
.card { background: var(--panel); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .pic img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card .pic.plain { aspect-ratio: 1; display: grid; place-items: center; background: linear-gradient(135deg, var(--band), var(--bg)); padding: 20px; text-align: center; font: 800 26px "Baloo 2", sans-serif; color: var(--yellow); }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin: 0 0 8px; font-size: 20px; color: var(--yellow); }
.card p { font-size: 15px; }
.rules { margin: 0 0 12px; padding-left: 18px; font-size: 15px; }
.card .foot { margin-top: auto; display: grid; gap: 8px; }
button.code { background: var(--bg); border: 2px dashed var(--yellow); color: var(--yellow); border-radius: 10px; padding: 8px; font: 800 18px Nunito, sans-serif; cursor: pointer; }
button.code span { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
button.copy.copied { background: var(--yellow); color: var(--ink); }

/* FAQ */
.faq details { background: var(--panel); border-radius: 12px; margin-bottom: 10px; padding: 0 16px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 14px 0; }
.faq .answer { padding-bottom: 6px; }

/* Fair Go's own banner across the top of the home page */
.top-banner { display: block; background: #0d4a31; border-bottom: 1px solid var(--line); }
.top-banner img { width: 100%; max-width: 1920px; margin: 0 auto; }

/* a card picture the site draws: the game of the month */
.card .pic.art { aspect-ratio: 1; display: flex; align-items: center; gap: 16px; padding: 22px; text-decoration: none;
  background: radial-gradient(circle at 30% 20%, #2a8a5e, var(--bg) 70%); }
.card .pic.art .art-tile { width: 44%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); transform: rotate(-4deg); }
.art-text { display: flex; flex-direction: column; gap: 8px; }
.art-label { align-self: flex-start; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; padding: 4px 10px; border-radius: 999px; }
.art-pokie { font: 800 26px/1.1 "Baloo 2", sans-serif; color: var(--text); }
.card .pic.art.new_pokie { background: radial-gradient(circle at 30% 20%, #4d7bd1, #13254d 70%); }
.card .pic.art.tournament { background: radial-gradient(circle at 30% 20%, #c98a12, #3b2304 70%); }
.art-prize { font: 800 34px/1 "Baloo 2", sans-serif; color: var(--yellow); }

/* screenshots: side by side on a computer, two across on a phone */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 260px)); gap: 16px; margin: 16px 0 24px; align-items: start; }
.shots.n1 { grid-template-columns: minmax(0, 320px); }
.shot { margin: 0; }
.shot img { border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(0, 0, 0, .3); }
.shot figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; text-align: center; font-weight: 700; }
@media (max-width: 520px) { .shots { grid-template-columns: 1fr 1fr; gap: 10px; } .shots.n1 { grid-template-columns: minmax(0, 260px); } }
