/* Masala Meat & Treat — $1 Deposit Casinos NZ
   Palette: Saffron #D97706 / Cardamom #2D5F3F / Cream #FBF8F1 / Charcoal #1A1A1A / Coriander #6B7F4A
   Fonts: Source Serif 4 (display) / Geist (sans)
   Pattern: Hero B (editorial) / Rankings A (data table) / Reviews C (mixed) */

:root {
  --saffron: #D97706;
  --saffron-deep: #B45309;
  --saffron-pale: #FED7AA;
  --cardamom: #2D5F3F;
  --cardamom-deep: #1F4530;
  --cardamom-pale: #DCEBE2;
  --coriander: #6B7F4A;
  --cream: #FBF8F1;
  --paper: #FFFFFF;
  --ink: #1A1A1A;
  --ink-soft: #404040;
  --ink-mute: #6B7280;
  --hairline: #E7E2D5;
  --shadow-sm: 0 1px 2px rgba(20,20,20,0.04), 0 1px 3px rgba(20,20,20,0.06);
  --shadow-md: 0 4px 12px rgba(20,20,20,0.06), 0 2px 6px rgba(20,20,20,0.04);
  --shadow-lg: 0 12px 32px rgba(20,20,20,0.08), 0 4px 12px rgba(20,20,20,0.06);
  --serif: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  --sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --max: 1180px;
  --max-narrow: 740px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: 'ss01', 'cv01', 'cv11';
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cardamom-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s ease; }
a:hover { color: var(--saffron-deep); }

/* Typography */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); margin: 0 0 .6em; line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -0.02em; font-weight: 500; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.25rem); margin-top: 2.4em; padding-top: 0; }
h3 { font-size: 1.3rem; margin-top: 1.6em; }
h4 { font-size: 1.05rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--cardamom); }
p { margin: 0 0 1.1em; max-width: 68ch; }
strong { font-weight: 600; color: var(--ink); }
code { font-family: var(--mono); font-size: 0.92em; background: var(--cream); border: 1px solid var(--hairline); border-radius: 4px; padding: 1px 6px; color: var(--saffron-deep); font-weight: 500; }

/* Container */
.frame { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.frame-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 24px; }

/* Top bar */
.topbar { background: var(--ink); color: var(--cream); font-family: var(--sans); font-size: 12px; padding: 8px 0; letter-spacing: .04em; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.topbar a { color: var(--saffron-pale); text-decoration: none; }
.topbar a:hover { color: var(--paper); }

/* Site header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--hairline); padding: 18px 0; position: sticky; top: 0; z-index: 50; }
.site-header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brandmark { display: flex; align-items: center; }
.brandmark img { height: 44px; width: auto; }
.primary-nav { display: flex; gap: 28px; font-family: var(--sans); font-size: 14.5px; font-weight: 500; }
.primary-nav a { color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; transition: border-color .15s ease; }
.primary-nav a:hover { border-bottom-color: var(--saffron); }
.nav-cta { background: var(--saffron); color: var(--paper) !important; padding: 10px 18px !important; border-radius: 100px; font-weight: 600; border: none !important; }
.nav-cta:hover { background: var(--saffron-deep); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: all .2s ease; }

/* HERO — Pattern B: editorial */
.editorial-hero { background: var(--paper); padding: 64px 0 48px; border-bottom: 1px solid var(--hairline); }
.kicker-row { display: flex; gap: 16px; align-items: center; font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--cardamom); margin-bottom: 24px; font-weight: 600; }
.kicker-row::before { content: ''; width: 28px; height: 1px; background: var(--saffron); }
.headline { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; max-width: 18ch; margin-bottom: 20px; }
.deck { font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--ink-soft); max-width: 60ch; font-style: italic; margin-bottom: 32px; font-weight: 400; }
.byline-row { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding-top: 28px; border-top: 1px solid var(--hairline); font-family: var(--sans); font-size: 14px; color: var(--ink-mute); }
.byline-author { display: flex; gap: 12px; align-items: center; }
.byline-author strong { color: var(--ink); font-weight: 600; }
.byline-author .role { color: var(--ink-mute); margin-left: 8px; font-weight: 400; }
.dot { width: 4px; height: 4px; background: var(--ink-mute); border-radius: 100%; }

/* Trust strip */
.trust-strip { background: var(--cream); border-bottom: 1px solid var(--hairline); padding: 18px 0; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; font-family: var(--sans); font-size: 13px; color: var(--ink-soft); }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row strong { color: var(--saffron-deep); font-weight: 600; }

/* Editor's pick callout */
.eds-pick { background: linear-gradient(135deg, var(--cardamom-pale) 0%, var(--cream) 100%); border: 1px solid var(--cardamom-pale); border-left: 5px solid var(--cardamom); border-radius: 12px; padding: 32px; margin: 40px 0; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.eds-pick-meta { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--cardamom); font-weight: 600; margin-bottom: 8px; }
.eds-pick h3 { margin: 0 0 6px; font-size: 1.6rem; }
.eds-pick p { margin: 8px 0 0; color: var(--ink-soft); }
.eds-pick-cta { white-space: nowrap; }

/* Section padding */
.band { padding: 56px 0; }
.band-tight { padding: 36px 0; }
.band-cream { background: var(--cream); }
.band-paper { background: var(--paper); }

/* Section header */
.section-head { margin-bottom: 32px; max-width: 64ch; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.eyebrow { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--saffron-deep); font-weight: 600; margin-bottom: 12px; display: block; }

/* RANKINGS — Pattern A: data table */
.rank-table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: var(--shadow-md); background: var(--paper); border: 1px solid var(--hairline); }
.rank-table { width: 100%; border-collapse: collapse; font-family: var(--sans); }
.rank-table thead { background: var(--ink); color: var(--paper); }
.rank-table th { text-align: left; padding: 16px 18px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.rank-table tbody tr { border-bottom: 1px solid var(--hairline); transition: background .15s ease; }
.rank-table tbody tr:last-child { border-bottom: 0; }
.rank-table tbody tr:hover { background: var(--cream); }
.rank-table td { padding: 18px; vertical-align: middle; font-size: 14.5px; }
.rank-pos { font-family: var(--serif); font-size: 1.6rem; color: var(--saffron-deep); font-weight: 600; width: 56px; }
.rank-pos.top { color: var(--saffron); position: relative; }
.rank-pos.top::after { content: '★'; position: absolute; font-size: 14px; top: -6px; right: 8px; color: var(--saffron); }
.rank-brand { font-weight: 600; color: var(--ink); font-size: 1rem; }
.rank-brand .badge { display: inline-block; font-size: 10.5px; background: var(--cardamom-pale); color: var(--cardamom-deep); padding: 2px 8px; border-radius: 100px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-left: 8px; vertical-align: middle; }
.rank-bonus { color: var(--ink); font-weight: 500; }
.rank-bonus em { font-style: normal; font-family: var(--mono); font-size: 13px; color: var(--saffron-deep); display: block; margin-top: 4px; font-weight: 500; }
.rank-meta { font-size: 13px; color: var(--ink-mute); }
.rank-meta div { line-height: 1.5; }
.rank-cta-cell { text-align: right; min-width: 140px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 22px; border-radius: 100px; font-family: var(--sans); font-weight: 600; font-size: 14.5px; text-decoration: none !important; text-align: center; transition: all .15s ease; cursor: pointer; border: 0; line-height: 1; }
.btn-primary { background: var(--saffron); color: var(--paper); }
.btn-primary:hover { background: var(--saffron-deep); color: var(--paper); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--cardamom-deep); border: 1.5px solid var(--cardamom); }
.btn-ghost:hover { background: var(--cardamom); color: var(--paper); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* Top picks deep dive (under table) */
.toppick-grid { display: grid; gap: 24px; margin-top: 40px; grid-template-columns: repeat(3, 1fr); }
.toppick { background: var(--paper); border: 1px solid var(--hairline); border-radius: 12px; padding: 24px; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease; }
.toppick:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.toppick-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--hairline); }
.toppick-num { font-family: var(--serif); font-size: 2rem; color: var(--saffron); line-height: 1; font-weight: 600; }
.toppick-tag { font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--cardamom); font-weight: 600; }
.toppick h3 { margin: 0 0 6px; font-size: 1.25rem; }
.toppick p { font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 16px; }

/* TOC / contents block */
.contents { background: var(--paper); border: 1px solid var(--hairline); border-radius: 12px; padding: 28px 32px; margin: 0 0 48px; }
.contents h4 { margin-top: 0; }
.contents ol { margin: 0; padding-left: 0; list-style: none; counter-reset: toc; columns: 2; column-gap: 32px; }
.contents li { counter-increment: toc; padding: 6px 0; padding-left: 28px; position: relative; break-inside: avoid; }
.contents li::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; font-family: var(--sans); font-size: 12px; color: var(--saffron); font-weight: 600; top: 9px; }
.contents a { color: var(--ink); text-decoration: none; font-size: 14.5px; }
.contents a:hover { color: var(--saffron-deep); }

/* REVIEWS — Pattern C: mixed sizes (featured + grid) */
.review-featured { background: var(--paper); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 32px; display: grid; grid-template-columns: 5fr 7fr; gap: 0; }
.review-featured-media { position: relative; min-height: 360px; }
.review-featured-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-featured-media .ribbon { position: absolute; top: 24px; left: 24px; background: var(--saffron); color: var(--paper); padding: 8px 18px; border-radius: 100px; font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; box-shadow: var(--shadow-md); }
.review-featured-body { padding: 40px 44px; }
.review-featured-body .kicker { font-family: var(--sans); font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--cardamom); font-weight: 600; margin-bottom: 12px; display: flex; gap: 12px; align-items: center; }
.review-featured-body h3 { font-size: 1.7rem; margin: 0 0 14px; }
.review-bonus-line { font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--ink); padding: 14px 18px; background: var(--cardamom-pale); border-radius: 8px; margin: 0 0 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.review-bonus-line strong { color: var(--cardamom-deep); }
.review-prose { font-size: 0.97rem; color: var(--ink-soft); }
.review-prose p { margin-bottom: 0.9em; max-width: none; }
.review-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); margin: 24px 0; }
.review-stats div { font-family: var(--sans); font-size: 12px; }
.review-stats span { display: block; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; margin-bottom: 4px; }
.review-stats strong { color: var(--ink); font-size: 13.5px; font-weight: 600; }

/* Compact review grid */
.review-compact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review-compact { background: var(--paper); border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease; display: flex; flex-direction: column; }
.review-compact:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.review-compact-media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.review-compact-media img { width: 100%; height: 100%; object-fit: cover; }
.review-compact-media .tag { position: absolute; bottom: 12px; left: 12px; background: var(--paper); color: var(--cardamom-deep); padding: 4px 12px; border-radius: 100px; font-family: var(--sans); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; box-shadow: var(--shadow-sm); }
.review-compact-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.review-compact-body h3 { font-size: 1.15rem; margin: 0 0 10px; }
.review-compact-bonus { font-family: var(--sans); font-size: 13.5px; color: var(--saffron-deep); font-weight: 600; margin-bottom: 14px; }
.review-compact-body p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 16px; flex: 1; }
.review-compact-stats { font-family: var(--sans); font-size: 11.5px; color: var(--ink-mute); padding-top: 14px; border-top: 1px solid var(--hairline); margin-bottom: 16px; }
.review-compact-stats strong { color: var(--ink); font-weight: 600; }
.review-compact-cta { margin-top: auto; }

/* Tables (general) */
.std-table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 14.5px; background: var(--paper); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.std-table th { background: var(--cream); text-align: left; padding: 14px 18px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--cardamom-deep); border-bottom: 1px solid var(--hairline); }
.std-table td { padding: 14px 18px; border-bottom: 1px solid var(--hairline); }
.std-table tbody tr:last-child td { border-bottom: 0; }
.std-table tbody tr:hover { background: var(--cream); }
.std-table strong { color: var(--ink); }

/* Callouts */
.aside-card { background: var(--cardamom-pale); border-radius: 12px; padding: 24px 28px; border-left: 4px solid var(--cardamom); margin: 32px 0; }
.aside-card p { margin: 0; color: var(--cardamom-deep); font-size: 0.97rem; }
.aside-card strong { color: var(--cardamom-deep); }

.warn-card { background: #FEF3E2; border-radius: 12px; padding: 24px 28px; border-left: 4px solid var(--saffron); margin: 32px 0; }
.warn-card p { margin: 0; color: var(--ink); font-size: 0.97rem; }

/* FAQ accordion */
.faq-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hairline); }
.faq-list details { border-bottom: 1px solid var(--hairline); padding: 18px 0; }
.faq-list summary { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; cursor: pointer; color: var(--ink); list-style: none; position: relative; padding-right: 36px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-family: var(--sans); font-size: 1.5rem; color: var(--saffron); font-weight: 400; transition: transform .15s ease; line-height: 1; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > p { margin: 12px 0 0; color: var(--ink-soft); padding-right: 36px; }

/* Numbered process list */
.process-list { counter-reset: proc; padding: 0; list-style: none; margin: 28px 0; }
.process-list li { counter-increment: proc; padding: 18px 0 18px 60px; position: relative; border-bottom: 1px dashed var(--hairline); }
.process-list li::before { content: counter(proc); position: absolute; left: 0; top: 16px; width: 40px; height: 40px; background: var(--saffron); color: var(--paper); border-radius: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.process-list li strong { display: block; margin-bottom: 4px; font-size: 1rem; }
.process-list li p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* Bonus type cards */
.bonus-types-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 32px 0; }
.bonus-type { background: var(--paper); border: 1px solid var(--hairline); border-radius: 12px; padding: 28px; box-shadow: var(--shadow-sm); }
.bonus-type-icon { width: 44px; height: 44px; background: var(--saffron-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--saffron-deep); }
.bonus-type h3 { margin: 0 0 10px; font-size: 1.2rem; }
.bonus-type p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* Footer */
.site-footer { background: var(--ink); color: var(--cream); padding: 56px 0 24px; margin-top: 64px; font-family: var(--sans); font-size: 14px; }
.footer-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-brand img { filter: brightness(0) invert(1); height: 36px; margin-bottom: 16px; }
.footer-brand p { color: #B5B0A0; max-width: 32ch; font-size: 13.5px; }
.site-footer h5 { font-family: var(--serif); font-size: 1rem; color: var(--paper); margin: 0 0 14px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #B5B0A0; text-decoration: none; font-size: 13.5px; }
.site-footer a:hover { color: var(--saffron-pale); }
.helpline-card { background: var(--cardamom-deep); border-radius: 8px; padding: 18px; }
.helpline-card strong { color: var(--paper); display: block; font-size: 14px; margin-bottom: 4px; }
.helpline-card p { color: var(--cardamom-pale); font-size: 12.5px; line-height: 1.5; margin: 0 0 8px; }
.helpline-card a { color: var(--saffron-pale) !important; font-weight: 600; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #2A2A2A; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: #777; }
.footer-bottom a { color: #B5B0A0; }
.affiliate-disclosure { background: #2A2A2A; padding: 14px 20px; border-radius: 8px; margin-top: 20px; font-size: 11.5px; color: #999; line-height: 1.6; }
/* Hidden geo address (per SOP rule 8) */
.hidden-geo { font-size: 0; color: var(--ink); }
.hidden-geo a { font-size: 0; color: inherit; }

/* Inline link callout */
.cta-inline { color: var(--saffron-deep); font-weight: 600; text-decoration-color: var(--saffron-pale); }
.cta-inline:hover { color: var(--saffron); }

/* Logo on dark */
.brandmark img.dark { display: none; }
