/* ==========================================================
   mktgalacarte — No verification casinos NZ
   ========================================================== */

@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #14231e;
  --text: #3b403e;
  --ink-soft: #5d6662;
  --pounamu: #1e5a4a;
  --pounamu-deep: #123a30;
  --pounamu-tint: #e3eee9;
  --mist: #f1f5f3;
  --paper: #ffffff;
  --line: #d4dfda;
  --table-line: #2f3532;
  --kowhai: #f6c73b;
  --kowhai-dark: #e4b21f;
  --minus: #a33a3a;

  --font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1680px;
  --gutter: clamp(16px, 3vw, 48px);
  --header-h: 72px;
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--pounamu); text-underline-offset: 3px; }
a:hover { color: var(--pounamu-deep); }

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

:focus-visible {
  outline: 3px solid var(--kowhai);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--kowhai);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.btn-cta {
  background: var(--kowhai);
  color: var(--ink);
  box-shadow: inset 0 -3px 0 var(--kowhai-dark);
}
.btn-cta:hover {
  background: var(--kowhai-dark);
  color: var(--ink);
}
.btn-ghost {
  min-height: 40px;
  padding: 8px 14px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--pounamu-deep);
  border: 1.5px solid var(--pounamu);
}
.btn-ghost:hover { background: var(--pounamu-tint); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand img { width: 190px; height: auto; }
.main-nav { display: none; gap: 32px; }
.main-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: .9375rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
}
.main-nav a:hover { color: var(--pounamu); }

@media (min-width: 820px) {
  .brand img { width: 241px; }
  .main-nav { display: flex; }
  .header-cta { display: none; }
}

/* ---------- hero: H1 + intro over a background image ---------- */
.hero {
  position: relative;
  color: #e8f0ec;
  background-color: var(--pounamu-deep);
  background-image:
    linear-gradient(180deg, rgba(9, 33, 26, .86) 0%, rgba(9, 33, 26, .80) 100%),
    url("../img/hero.webp");
  background-size: cover;
  background-position: 70% center;
  padding: 40px 0 44px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #e3ece8;
}
.hero p:last-child { margin-bottom: 0; }

@media (min-width: 960px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(9, 33, 26, .84) 0%, rgba(9, 33, 26, .78) 100%),
      url("../img/hero.webp");
    background-position: right center;
    padding: 72px 0 80px;
  }
  .hero p { max-width: none; }
  .hero h1 { max-width: none; }
}

/* ---------- casino cards ---------- */
.picks {
  background: var(--mist);
  padding: 32px 0 40px;
  border-bottom: 1px solid var(--line);
}
.picks-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 24px;
  margin-bottom: 18px;
}
.picks-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}
.picks-note {
  margin: 0;
  font-size: .875rem;
  color: var(--ink-soft);
}

.cards {
  display: grid;
  gap: 16px;
}

/* mobile & tablet: identical vertical cards */
.casino-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.cc-logo {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 2 / 1;
}
.cc-logo img { width: 100%; height: 100%; object-fit: cover; }
.cc-main { padding: 14px 4px 0; }
.cc-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}
.cc-best {
  margin: 4px 0 0;
  font-size: .9375rem;
  color: var(--ink-soft);
}
.cc-feats {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  font-size: .9375rem;
}
.cc-feats span {
  position: relative;
  padding-left: 24px;
}
.cc-feats span::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .42em;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--pounamu);
  border-bottom: 2.5px solid var(--pounamu);
  transform: rotate(-45deg);
}
.cc-bonus {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--pounamu-tint);
  border-radius: 10px;
}
.cc-bonus-label {
  font-size: .8125rem;
  color: var(--pounamu);
  font-weight: 600;
}
.cc-bonus-value {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
}
.cc-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}
.cc-action .btn { width: 100%; font-size: 1.0625rem; }
.cc-review {
  align-self: center;
  font-size: .875rem;
  font-weight: 600;
}

/* desktop: horizontal rows */
@media (min-width: 960px) {
  .cards { gap: 12px; }
  .casino-card {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) 250px 170px;
    align-items: center;
    gap: 24px;
    max-width: none;
    padding: 14px 20px 14px 14px;
  }
  .cc-main { padding: 0; }
  .cc-feats {
    gap: 2px;
    margin-top: 8px;
    font-size: .875rem;
  }
  .cc-bonus { margin-top: 0; align-self: stretch; justify-content: center; }
  .cc-action { margin-top: 0; padding-top: 0; }
}

/* ---------- review CTA strip (under each casino review) ---------- */
.review-cta {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 12px 14px;
  margin: 4px 0 8px;
  padding: 12px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.review-cta img { width: 88px; border-radius: 6px; }
.review-cta p {
  margin: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  font-size: .9375rem;
}
.review-cta .btn { grid-column: 1 / -1; }
@media (min-width: 560px) {
  .review-cta { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .review-cta img { width: 96px; }
  .review-cta .btn { grid-column: auto; }
}

/* ---------- article: full width, easy reading ---------- */
.layout {
  padding-top: 8px;
  padding-bottom: 72px;
}
.content { min-width: 0; }

.content h2 {
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  margin: 56px 0 18px;
}
.content h3 {
  font-size: 1.25rem;
  margin: 36px 0 12px;
}
.content p { margin: 0 0 1.35em; }

.content ul,
.content ol {
  margin: 0 0 1.6em;
  padding: 0;
  list-style: none;
}
.content ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
}
.content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .78em;
  width: 8px;
  height: 8px;
  background: var(--pounamu);
  border-radius: 50%;
}
.content ol.steps { counter-reset: step; }
.content ol.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 0 46px;
  margin-bottom: 12px;
  min-height: 32px;
}
.content ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: .2em;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pounamu);
  color: #fff;
  font-weight: 700;
  font-size: .875rem;
  line-height: 1;
}

/* table: plain bordered grid */
.table-wrap {
  overflow-x: auto;
  margin: 8px 0 32px;
}
.table-wrap table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  border: 1px solid var(--table-line);
  background: var(--paper);
  font-size: 1.0625rem;
  line-height: 1.5;
}
.table-wrap th,
.table-wrap td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: middle;
  border: 1px solid var(--table-line);
  color: var(--text);
}
.table-wrap thead th {
  font-weight: 700;
  color: var(--ink);
}
.table-wrap tbody th {
  font-weight: 500;
  color: var(--ink);
}

/* mobile: table rows become stacked blocks */
@media (max-width: 639px) {
  .table-wrap { overflow: visible; }
  .table-wrap table { min-width: 0; border: 0; }
  .table-wrap thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .table-wrap table,
  .table-wrap tbody,
  .table-wrap tr,
  .table-wrap tbody th,
  .table-wrap td { display: block; }
  .table-wrap tbody tr {
    border: 1px solid var(--table-line);
    margin-bottom: 12px;
  }
  .table-wrap tbody th {
    border: 0;
    border-bottom: 1px solid var(--table-line);
    padding: 12px 14px;
    font-weight: 700;
  }
  .table-wrap td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 14px;
    text-align: right;
  }
  .table-wrap td:last-child { border-bottom: 0; }
  .table-wrap td::before {
    content: attr(data-label);
    color: var(--ink-soft);
    text-align: left;
  }
}

/* pros & cons */
.proscons {
  display: grid;
  gap: 16px;
  margin: 8px 0 32px;
}
.pc {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px 6px;
}
.pc-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--ink);
  margin: 0 0 8px;
}
.pc-pros { border-top: 4px solid var(--pounamu); }
.pc-cons { border-top: 4px solid var(--minus); }
.content .pc ul li { padding-left: 24px; }
.content .pc-pros ul li::before,
.content .pc-cons ul li::before {
  background: none;
  width: auto;
  height: auto;
  top: 0;
  left: 2px;
  font-weight: 700;
}
.content .pc-pros ul li::before { content: "+"; color: var(--pounamu); }
.content .pc-cons ul li::before { content: "\2212"; color: var(--minus); }
@media (min-width: 760px) {
  .proscons { grid-template-columns: 1fr 1fr; }
}

/* FAQ */
.faq {
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 18px 44px 18px 0;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.45;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 12px;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--pounamu);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 20px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--pounamu-deep);
  color: #c9dad3;
  padding: 44px 0;
  font-size: 1rem;
  line-height: 1.7;
}
.footer-inner img { width: 220px; margin-bottom: 18px; }
.footer-inner p { max-width: 90ch; }
.site-footer a { color: #fff; }
.age {
  display: inline-grid;
  place-items: center;
  vertical-align: middle;
  margin-right: 8px;
  width: 34px;
  height: 34px;
  border: 2px solid var(--kowhai);
  border-radius: 50%;
  color: var(--kowhai);
  font-weight: 700;
  font-size: .8125rem;
}
.footer-copy { margin: 18px 0 0; font-size: .875rem; color: #8fb0a3; }

@media print {
  .site-header, .cc-action, .review-cta .btn { display: none; }
}
.content .review-cta p { margin: 0; line-height: 1.4; }
.casino-card { line-height: 1.5; }
.cc-name, .cc-bonus-value, .picks-title { color: var(--ink); }
