/* ==========================================================================
   Pokies Online Real Money Australia 2026 — Editorial Stylesheet v2
   ========================================================================== */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --surface-dark: #0f172a;
  --surface-dark-2: #1e293b;
  --text: #0f172a;
  --text-muted: #475569;
  --text-on-dark: #f8fafc;
  --text-muted-dark: #cbd5e1;
  --border: #e2e8f0;
  --accent: #059669;
  --accent-hover: #047857;
  --accent-soft: #ecfdf5;
  --gold: #d97706;
  --gold-soft: #fef3c7;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --max-w: 1160px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-hover); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--surface-dark); color: var(--text-on-dark);
  padding: 10px 16px; z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; border-radius: var(--radius-sm); }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.08rem; letter-spacing: -0.02em; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: var(--surface-dark); color: #34d399; font-weight: 800; font-size: 0.95rem; }
.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav a { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.92rem; transition: color 0.15s ease; }
.main-nav a:hover { color: var(--text); }
.main-nav .nav-cta { background: var(--accent); color: #ffffff; padding: 9px 16px; border-radius: 999px; font-size: 0.88rem; }
.main-nav .nav-cta:hover { background: var(--accent-hover); color: #ffffff; }
.mobile-nav { display: none; }

/* Breadcrumbs */
.breadcrumbs { background: var(--surface-alt); border-bottom: 1px solid var(--border); font-size: 0.85rem; color: var(--text-muted); padding: 10px 0; }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 6px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%); color: var(--text-on-dark); padding: 48px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(52, 211, 153, 0.14); color: #6ee7b7; border: 1px solid rgba(52, 211, 153, 0.32); font-size: 0.83rem; font-weight: 600; margin-bottom: 16px; }
.hero h1 { margin: 0 0 16px; font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.15; letter-spacing: -0.025em; }
.hero-lead { margin: 0 0 24px; color: var(--text-muted-dark); font-size: 1.04rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-sm); padding: 12px 14px; }
.stat-card strong { display: block; font-size: 1.15rem; color: #ffffff; }
.stat-card span { font-size: 0.8rem; color: var(--text-muted-dark); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 22px; border-radius: 999px; background: var(--accent); color: #ffffff; font-weight: 700; text-decoration: none; transition: background 0.15s ease, transform 0.15s ease; }
.btn:hover { background: var(--accent-hover); color: #ffffff; transform: translateY(-1px); }
.hero-meta { margin-top: 18px; font-size: 0.85rem; color: var(--text-muted-dark); }
.hero-meta a { color: #6ee7b7; }
.hero-media { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: var(--shadow-md); }

/* Sections & Editorial Boxes */
.section { padding: 38px 0; }
.section-title { margin: 0 0 10px; font-size: clamp(1.4rem, 2.5vw, 1.95rem); line-height: 1.22; letter-spacing: -0.02em; }
.section-intro { margin: 0 0 24px; color: var(--text-muted); max-width: 74ch; }

.editorial-box, .content-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.editorial-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.editorial-badge { font-weight: 700; color: var(--accent-hover); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.78rem; }
.editorial-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.editorial-cols h3 { margin: 0 0 6px; font-size: 1rem; }
.editorial-cols p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

/* 9 Casino Cards */
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.casino-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.casino-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.casino-card.is-top { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); }
.card-flag { display: inline-block; align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; background: var(--accent-soft); color: var(--accent-hover); }
.card-flag--gold { background: var(--gold-soft); color: #92400e; }
.card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-rank { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--surface-dark); color: #ffffff; font-weight: 800; font-size: 0.95rem; flex-shrink: 0; }
.card-title-wrap { flex: 1; min-width: 0; }
.card-name { margin: 0; font-size: 1.15rem; font-weight: 800; }
.card-score { font-size: 0.88rem; font-weight: 700; color: #b45309; }
.card-bonus { background: var(--surface-alt); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 0.88rem; font-weight: 600; margin-bottom: 14px; }
.card-verified { display: block; margin-top: 4px; font-size: 0.77rem; font-weight: 500; color: var(--accent-hover); }
.pros-cons { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 7px; font-size: 0.87rem; }
.pros-cons li { display: flex; align-items: flex-start; gap: 8px; }
.pc-pro::before { content: "✓"; color: var(--accent); font-weight: 800; flex-shrink: 0; }
.pc-con::before { content: "✕"; color: var(--danger); font-weight: 800; flex-shrink: 0; }
.pay-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 16px; }
.pay-tags span { font-size: 0.75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface-alt); color: var(--text-muted); border: 1px solid var(--border); }
.card-cta { width: 100%; text-align: center; margin-top: auto; }
.card-disc { margin-top: 8px; text-align: center; font-size: 0.74rem; color: var(--text-muted); }

/* Methodology 6-Grid & Reviews 3-Grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.mini-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; box-shadow: var(--shadow-sm); }
.mini-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.mini-card p, .mini-card q { margin: 0; font-size: 0.92rem; color: var(--text-muted); display: block; }

/* Spotlight Pick Banner */
.spotlight {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #ecfdf5 100%);
  border: 1px solid #a7f3d0; border-radius: var(--radius); padding: 20px 24px; margin: 22px 0;
}
.spotlight-info h3 { margin: 0 0 4px; font-size: 1.2rem; }
.spotlight-info p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

/* Tables */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin: 18px 0; }
table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 0.91rem; }
th, td { padding: 12px 15px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
thead th { background: var(--surface-dark); color: var(--text-on-dark); font-size: 0.79rem; text-transform: uppercase; letter-spacing: 0.04em; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--surface-alt); }

/* Split Layouts & Callouts */
.split-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: center; }
.split-grid--rev .split-media { order: -1; }
.split-media img { border-radius: var(--radius-sm); border: 1px solid var(--border); }

.callout { margin-top: 18px; padding: 15px 18px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.94rem; }
.callout--warn { border-left-color: var(--danger); background: var(--danger-soft); }

.brand-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.brand-row-card { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.brand-row-card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.brand-row-card p { margin: 0; font-size: 0.91rem; color: var(--text-muted); }

.steps-list { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 10px; }
.checklist { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 18px; }
.faq-item summary { cursor: pointer; padding: 14px 0; font-weight: 700; font-size: 1.01rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::after { content: "+"; font-size: 1.25rem; color: var(--accent); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0 0 16px; color: var(--text-muted); font-size: 0.94rem; }

/* Footer */
.site-footer { background: var(--surface-dark); color: var(--text-muted-dark); padding: 40px 0; margin-top: 40px; font-size: 0.88rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
.site-footer h3 { color: #ffffff; margin: 0 0 10px; font-size: 1rem; }
.site-footer a { color: #6ee7b7; }
.footer-bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.82rem; }

@media (max-width: 960px) {
  .hero-grid, .split-grid, .cards-grid, .editorial-cols, .grid-3, .grid-2, .brand-list-grid, .footer-grid { grid-template-columns: 1fr; }
  .split-grid--rev .split-media { order: 0; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { cursor: pointer; font-weight: 700; padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); list-style: none; }
  .mobile-nav nav { position: absolute; right: 20px; top: 64px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); padding: 12px; display: grid; gap: 10px; min-width: 190px; }
  .mobile-nav a { text-decoration: none; color: var(--text); font-weight: 600; }
  .hero-stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .casino-card { transition: none; }
}
