@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

/* ============ TOKENS ============ */
:root {
  --bg-base: #121318;
  --bg-card: #1c1e26;
  --accent: #f2b431;
  --highlight: #8a4fff;
  --text: #f1eee6;
  --muted: #9aa0ae;
  --border: #2b2e39;

  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --body: 'Source Sans 3', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-lg: 18px;
  --r-md: 11px;
  --r-sm: 6px;
  --ease: 180ms cubic-bezier(.4,0,.2,1);
  --shell: 1140px;
}

/* ============ BASE ============ */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  overflow-x: hidden;
}
body::selection, ::selection { background: var(--accent); color: var(--bg-base); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ============ TYPE SCALE ============ */
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.14; font-weight: 700; }
h1 { font-size: 2.15rem; letter-spacing: -0.5px; }
h2 { font-size: 1.62rem; margin-bottom: .7rem; }
h3 { font-size: 1.2rem; margin-bottom: .45rem; font-weight: 600; }
h4 { font-size: 1.03rem; margin-bottom: .3rem; font-weight: 600; }
p { margin-bottom: 1.05rem; }
ul, ol { margin: 0 0 1.15rem 1.15rem; }
li { margin-bottom: .45rem; }
strong { color: var(--text); font-weight: 700; }
small { font-size: .85rem; color: var(--muted); }

/* ============ CONTAINER ============ */
.q7v_wrap { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 18px; }
.q7v_lede { font-size: 1.08rem; color: #d8d4c8; }

/* ============ BUTTONS ============ */
.q7v_btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 12px 24px;
  border-radius: var(--r-md); font-weight: 700; font-size: 1rem;
  text-align: center; transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}
.q7v_btn:hover { text-decoration: none; transform: translateY(-2px); }
.q7v_btn--gold { background: var(--accent); color: #241a00; box-shadow: 0 6px 20px rgba(242,180,49,.26); }
.q7v_btn--gold:hover { box-shadow: 0 10px 26px rgba(242,180,49,.4); }
.q7v_btn--violet { background: var(--highlight); color: #fff; box-shadow: 0 6px 20px rgba(138,79,255,.3); }
.q7v_btn--line { border: 2px solid var(--accent); color: var(--accent); }
.q7v_btn--line:hover { background: var(--accent); color: #241a00; }
.q7v_btn--ghost { color: var(--text); border: 1px solid var(--border); }
.q7v_btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.q7v_btn--lg { min-height: 56px; padding: 15px 32px; font-size: 1.08rem; }
.q7v_btn--sm { min-height: 44px; padding: 9px 18px; font-size: .93rem; }
.q7v_btn--full { display: flex; width: 100%; }

/* ============ NAV ============ */
.q7v_top {
  position: sticky; top: 0; z-index: 60;
  background: rgba(18,19,24,.94); backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--border);
}
.q7v_top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; }
.q7v_brandlink { display: flex; align-items: center; }
.q7v_brandlink img { height: 34px; width: auto; }
.q7v_nav { display: none; }
.q7v_nav a {
  color: var(--muted); font-weight: 600; font-size: .93rem; padding: 8px 9px;
  border-radius: var(--r-sm); transition: color var(--ease);
}
.q7v_nav a:hover, .q7v_nav a[aria-current="page"] { color: var(--accent); text-decoration: none; }
.q7v_burger {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text);
}
.q7v_burger span { display: block; width: 20px; height: 2px; background: currentColor; box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor; }
.q7v_mnav { display: none; border-top: 1px solid var(--border); padding: 10px 0 16px; }
.q7v_mnav.open { display: block; }
.q7v_mnav a {
  display: block; padding: 12px 6px; color: var(--text); font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.q7v_mnav a:last-child { border-bottom: 0; }
.q7v_topcta { display: none; }

/* ============ TICKER ============ */
.q7v_strip {
  background: linear-gradient(90deg, var(--highlight), #4a1f9e);
  color: #fff; font-size: .88rem; font-weight: 600; text-align: center;
  padding: 8px 18px; letter-spacing: .2px;
}
.q7v_strip a { color: var(--accent); }

/* ============ HERO — LAYOUT D (typographic giant H1) ============ */
.q7v_hero { padding: 40px 0 34px; position: relative; overflow: hidden; }
.q7v_hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(760px 340px at 8% 0%, rgba(138,79,255,.28), transparent 62%),
    radial-gradient(620px 300px at 92% 18%, rgba(242,180,49,.16), transparent 60%);
}
.q7v_kicker {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.q7v_giant {
  font-size: clamp(2.6rem, 13.5vw, 4.6rem);
  line-height: .95; letter-spacing: -1.6px; margin-bottom: 16px;
}
.q7v_giant em { font-style: normal; color: var(--accent); display: block; }
.q7v_hero p { max-width: 62ch; }
.q7v_heroacts { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 8px; }

/* offer banner (recreated brand promo) */
.q7v_offer {
  margin-top: 26px; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(115deg, #1a1352 0%, #3b1b6e 44%, #7a1548 100%);
  position: relative;
}
.q7v_offer::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 240px; height: 240px;
  border-radius: 50%; background: radial-gradient(circle, rgba(242,180,49,.32), transparent 66%);
}
.q7v_offer-in { position: relative; padding: 26px 22px; }
.q7v_offer-tag { font-size: .76rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.q7v_offer-big { font-family: var(--display); font-size: 1.85rem; line-height: 1.12; margin: 8px 0 6px; }
.q7v_offer-sub { color: #d9d3ea; font-size: .96rem; margin-bottom: 16px; }
.q7v_offer-terms { font-size: .8rem; color: #b6aecb; margin-top: 12px; }

/* ============ TRUST BAR ============ */
.q7v_trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #16171d; }
.q7v_trust-in { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.q7v_trust-cell { background: #16171d; padding: 16px 14px; text-align: center; }
.q7v_trust-cell b { display: block; font-family: var(--display); font-size: 1.22rem; color: var(--accent); }
.q7v_trust-cell span { font-size: .8rem; color: var(--muted); }

/* ============ SECTIONS ============ */
.q7v_sec { padding: 42px 0; border-bottom: 1px solid var(--border); }
.q7v_sec:last-of-type { border-bottom: 0; }
.q7v_sec h2 { margin-bottom: .9rem; }
.q7v_sec--tint { background: #16171d; }

.q7v_card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px 18px; margin-bottom: 18px;
}
.q7v_card h3 { color: var(--accent); }
.q7v_card--gold { border-color: rgba(242,180,49,.45); }
.q7v_card--violet { border-left: 3px solid var(--highlight); }
.q7v_card p:last-child, .q7v_card ul:last-child { margin-bottom: 0; }

.q7v_grid { display: grid; grid-template-columns: 1fr; gap: 14px; }

/* teasers on the hub */
.q7v_teaser {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 18px 16px; transition: border-color var(--ease), transform var(--ease);
}
.q7v_teaser:hover { border-color: var(--accent); transform: translateY(-3px); }
.q7v_teaser h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.q7v_teaser h3 a { color: var(--text); }
.q7v_teaser h3 a:hover { color: var(--accent); text-decoration: none; }
.q7v_teaser p { font-size: .95rem; color: var(--muted); margin-bottom: .6rem; }
.q7v_teaser .q7v_more { font-size: .88rem; font-weight: 700; color: var(--accent); }

/* ============ TABLES ============ */
.q7v_tw { overflow-x: auto; margin-bottom: 18px; border: 1px solid var(--border); border-radius: var(--r-md); }
.q7v_tbl { min-width: 520px; font-size: .94rem; background: var(--bg-card); }
.q7v_tbl caption { caption-side: top; text-align: left; padding: 12px 14px 0; font-size: .86rem; color: var(--muted); }
.q7v_tbl th, .q7v_tbl td { padding: 11px 13px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.q7v_tbl thead th { background: #24262f; color: var(--accent); font-family: var(--display); font-size: .95rem; white-space: nowrap; }
.q7v_tbl tbody tr:last-child td { border-bottom: 0; }
.q7v_tbl tbody tr:nth-child(even) td { background: rgba(255,255,255,.018); }

/* ============ SCREENSHOTS ============ */
.q7v_shot { margin: 0 0 20px; }
.q7v_shot img { width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--border); }
.q7v_shot figcaption { font-size: .85rem; color: var(--muted); padding-top: 8px; }

/* ============ POKIES TILES ============ */
.q7v_pokies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.q7v_pokie { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.q7v_pokie img { width: 100%; height: 118px; object-fit: cover; }
.q7v_pokie b { display: block; font-size: .87rem; padding: 9px 10px 2px; font-weight: 600; }
.q7v_pokie span { display: block; font-size: .76rem; color: var(--muted); padding: 0 10px 10px; }

/* ============ PAYMENT + PROVIDER CHIPS ============ */
.q7v_chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; }
.q7v_chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 15px; font-size: .88rem; font-weight: 600;
}
.q7v_chip svg { width: 15px; height: 15px; flex: none; }
.q7v_chip--pay svg { color: var(--accent); }
.q7v_chip--prov svg { color: var(--highlight); }
.q7v_chip--off { opacity: .55; }

/* ============ STEPS ============ */
.q7v_steps { counter-reset: q7v; list-style: none; margin-left: 0; }
.q7v_steps li {
  counter-increment: q7v; position: relative;
  padding: 0 0 16px 46px; margin-bottom: 0;
}
.q7v_steps li::before {
  content: counter(q7v); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #241a00;
  display: grid; place-items: center; font-weight: 700; font-size: .95rem;
}
.q7v_steps li b { display: block; }

/* ============ FAQ ============ */
.q7v_faq-item { border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: 10px; background: var(--bg-card); overflow: hidden; }
.q7v_faq-btn {
  width: 100%; text-align: left; padding: 15px 46px 15px 16px;
  font-family: var(--display); font-size: 1.02rem; font-weight: 600; position: relative; min-height: 48px;
}
.q7v_faq-btn::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-size: 1.5rem; font-family: var(--body); line-height: 1;
}
.q7v_faq-item.open .q7v_faq-btn::after { content: "\2013"; }
.q7v_faq-ans { display: none; padding: 0 16px 15px; font-size: .96rem; color: #ddd9cf; }
.q7v_faq-item.open .q7v_faq-ans { display: block; }
.q7v_faq-ans p:last-child { margin-bottom: 0; }

/* ============ CTA BAND ============ */
.q7v_band {
  background: linear-gradient(120deg, #241a52, #5d1f6b);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 38px 0; text-align: center;
}
.q7v_band h2 { margin-bottom: .5rem; }
.q7v_band p { color: #ded8ee; max-width: 54ch; margin-left: auto; margin-right: auto; }

/* ============ FOOTER ============ */
.q7v_foot { background: #0e0f13; border-top: 1px solid var(--border); padding: 34px 0 96px; font-size: .93rem; }
.q7v_foot-cols { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: 24px; }
.q7v_foot h4 { color: var(--accent); font-size: .82rem; letter-spacing: 1.6px; text-transform: uppercase; font-family: var(--body); font-weight: 700; }
.q7v_foot ul { list-style: none; margin: 0; }
.q7v_foot li { margin-bottom: .38rem; }
.q7v_foot a { color: var(--muted); }
.q7v_foot a:hover { color: var(--accent); }
.q7v_badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.q7v_badge {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 7px 12px; font-size: .8rem; font-weight: 600; color: var(--muted);
  min-height: 44px;
}
.q7v_badge:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.q7v_badge--age { border-color: var(--accent); color: var(--accent); }
.q7v_fine { border-top: 1px solid var(--border); padding-top: 18px; color: var(--muted); font-size: .85rem; }
.q7v_fine p { margin-bottom: .6rem; }
.q7v_stamp { color: var(--accent); font-weight: 600; }

/* ============ STICKY MOBILE CTA ============ */
.q7v_dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(18,19,24,.97); border-top: 1px solid var(--border);
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px;
}
.q7v_dock-txt { flex: 1; font-size: .82rem; line-height: 1.28; color: var(--muted); }
.q7v_dock-txt b { display: block; color: var(--text); font-size: .92rem; }

/* ============ ANIMATIONS ============ */
@keyframes q7vRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.q7v_hero > .q7v_wrap > * { animation: q7vRise .5s both; }
.q7v_hero .q7v_giant { animation-delay: .05s; }
.q7v_hero .q7v_offer { animation-delay: .12s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (min-width: 480px) {
  .q7v_heroacts { flex-direction: row; flex-wrap: wrap; }
  .q7v_heroacts .q7v_btn { flex: 0 1 auto; }
  .q7v_pokies { grid-template-columns: repeat(3, 1fr); }
  .q7v_offer-big { font-size: 2.1rem; }
}
@media (min-width: 768px) {
  body { font-size: 18px; }
  h1 { font-size: 2.7rem; }
  h2 { font-size: 1.95rem; }
  .q7v_wrap { padding: 0 26px; }
  .q7v_burger, .q7v_mnav { display: none !important; }
  .q7v_nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
  .q7v_dock { display: none; }
  .q7v_foot { padding-bottom: 34px; }
  .q7v_grid { grid-template-columns: 1fr 1fr; }
  .q7v_trust-in { grid-template-columns: repeat(4, 1fr); }
  .q7v_sec { padding: 58px 0; }
  .q7v_offer-in { padding: 34px 30px; }
  .q7v_card { padding: 24px 22px; }
  .q7v_foot-cols { grid-template-columns: repeat(3, 1fr); }
  .q7v_pokies { grid-template-columns: repeat(4, 1fr); }
  .q7v_pokie img { height: 132px; }
}
@media (min-width: 1024px) {
  .q7v_hero { padding: 62px 0 48px; }
  .q7v_giant { font-size: clamp(4rem, 6.6vw, 5.6rem); letter-spacing: -2.6px; }
  .q7v_topcta { display: inline-flex; }
  .q7v_grid--3 { grid-template-columns: repeat(3, 1fr); }
  .q7v_foot-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .q7v_offer-big { font-size: 2.5rem; }
  .q7v_pokies { grid-template-columns: repeat(5, 1fr); }
}
