/* The Pokies Net — landing styles */

:root {
  --bg: #ffffff;
  --ink: #12141a;
  --body: #2b2f38;
  --muted: #6b7280;
  --line: #e7e8ec;
  --line-soft: #f0f1f4;
  --table-head: #f4f5f7;
  --radius: 12px;
  --wrap: 900px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 24px 96px;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.18;
  margin: 0;
}

h1 {
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 32px;
}

h2 {
  font-size: 28px;
  margin: 56px 0 22px;
}

h3 {
  font-size: 21px;
  margin: 40px 0 16px;
}

p {
  margin: 0 0 22px;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 52px 0;
}

/* ---------- Hero ---------- */

.hero {
  margin: 0 0 34px;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}

/* ---------- Hero CTA (AU) ---------- */

.hero.has-cta {
  position: relative;
  isolation: isolate;
}

.hero.has-cta::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(to top, rgba(8, 10, 16, 0.62), rgba(8, 10, 16, 0));
  pointer-events: none;
}

.hero-cta {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 208px;
  padding: 16px 40px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(8, 10, 16, 0.35);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  background: #000000;
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 12px 30px rgba(8, 10, 16, 0.45);
}

.hero-cta:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.hero-cta:active {
  transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-cta { transition: none; }
  .hero-cta:hover,
  .hero-cta:focus-visible { transform: translateX(-50%); }
}

/* ---------- Lists ---------- */

ol, ul {
  margin: 0 0 24px;
  padding-left: 22px;
}

li {
  margin-bottom: 10px;
  padding-left: 4px;
}

li::marker {
  color: var(--muted);
}

/* ---------- Tables ---------- */

.table-wrap {
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.55;
}

thead th {
  background: var(--table-head);
  color: var(--ink);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

th, td {
  padding: 14px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}

thead th { border-bottom: 1px solid var(--line); }

tbody tr:last-child th,
tbody tr:last-child td { border-bottom: 0; }

tbody td:first-child {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- FAQ ---------- */

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.faq-item:last-of-type { border-bottom: 0; }

.faq-q {
  font-size: 18px;
  margin: 0 0 8px;
}

.faq-a {
  margin: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 36px 18px 64px; }
  h1 { font-size: 30px; margin-bottom: 24px; }
  h2 { font-size: 23px; margin: 42px 0 18px; }
  h3 { font-size: 19px; }
  hr { margin: 38px 0; }
  .hero img { aspect-ratio: 16 / 9; border-radius: 10px; }
  .hero-cta { bottom: 18px; min-width: 0; padding: 13px 30px; font-size: 15px; }
  table { font-size: 15px; }
  th, td { padding: 12px 16px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
