/* ============================================================
   PokieFox Casino — Global Stylesheet
   Domain: pokiefox.net | GEO: AU | Colour: Dark Green
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-primary:   #071a07;
  --bg-card:      #0d2a0d;
  --bg-header:    #050f05;
  --bg-footer:    #040d04;
  --bg-stripe:    #0a200a;
  --accent:       #00c853;
  --accent-hover: #00a042;
  --accent-dim:   #007a32;
  --text-primary: #f0f0f0;
  --text-muted:   #8fbc8f;
  --text-link:    #4cde7c;
  --border:       #1e3e1e;
  --border-light: #2a5a2a;
  --shadow:       0 2px 16px rgba(0,0,0,.6);
  --radius:       8px;
  --radius-lg:    12px;
  --max-w:        860px;
  --font:         -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text-link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

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

/* ---------- Header ---------- */
.site-header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img { width: 40px; height: 40px; }
.logo-official {
  height: 36px;
  width: auto;
  /* logo-official.png is white on white — visible on dark header */
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -.5px;
}
.logo-sub {
  font-size: .65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Hero mascot image */
.hero-mascot {
  display: block;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--border-light);
  box-shadow: 0 0 32px rgba(0,200,83,.25);
}

/* Promo banner image */
.promo-img {
  display: block;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  margin: 0 auto 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Nav */
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-link {
  color: var(--text-muted);
  font-size: .875rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); background: var(--border); }

/* CTA button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: .9rem;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .1s, box-shadow .2s;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:hover {
  background: var(--accent-hover);
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,200,83,.35);
}
.btn:active { transform: translateY(0); }
.btn-lg { font-size: 1rem; padding: 14px 28px; border-radius: var(--radius-lg); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #000; }
.btn-full { width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero / Page Intro ---------- */
.hero {
  background: linear-gradient(135deg, #071a07 0%, #0d2a0d 60%, #0a1f0a 100%);
  border-bottom: 1px solid var(--border);
  padding: 52px 20px 44px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,200,83,.12);
  border: 1px solid rgba(0,200,83,.3);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.hero .lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 28px;
}
.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  list-style: none;
}
.hero-bullets li {
  background: rgba(0,200,83,.08);
  border: 1px solid rgba(0,200,83,.2);
  color: var(--text-primary);
  font-size: .85rem;
  padding: 6px 14px;
  border-radius: 20px;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Main content ---------- */
.site-main {
  padding: 48px 20px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ---------- Sections ---------- */
.section { margin-bottom: 52px; }
.section:last-child { margin-bottom: 0; }

h2 {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--accent);
}
h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 24px 0 10px;
}
h4 { font-size: 1rem; font-weight: 600; color: var(--accent); margin: 20px 0 8px; }

p { margin-bottom: 14px; color: var(--text-primary); }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 20px; margin-bottom: 14px; }
li { margin-bottom: 6px; color: var(--text-primary); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.card-green {
  background: rgba(0,200,83,.07);
  border-color: rgba(0,200,83,.25);
}

/* Highlight box */
.highlight-box {
  background: rgba(0,200,83,.07);
  border: 1px solid rgba(0,200,83,.25);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
}
.highlight-box p { color: var(--text-primary); margin: 0; }

/* Bullets with checkmarks */
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 8px;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Numbered steps */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  padding: 14px 16px 14px 52px;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  font-size: .85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  font-size: .9rem;
}
thead { background: var(--bg-header); }
thead th {
  padding: 12px 16px;
  text-align: left;
  color: var(--accent);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--bg-stripe); }
tbody tr:hover { background: rgba(0,200,83,.06); }
td { padding: 11px 16px; color: var(--text-primary); vertical-align: top; }

/* ---------- FAQ Accordion ---------- */
.faq-list { list-style: none; padding: 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: var(--bg-card);
  border: none;
  text-align: left;
  padding: 16px 20px;
  color: var(--text-primary);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background .2s;
}
.faq-q:hover { background: rgba(0,200,83,.08); }
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 20px 16px;
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
  border-top: 1px solid var(--border);
}
.faq-a p { color: var(--text-muted); margin-top: 12px; }
.faq-item.open .faq-a { display: block; }

/* ---------- Rating / Review stars ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.review-card .stars { color: var(--accent); font-size: 1rem; margin-bottom: 6px; }
.review-card p { font-size: .88rem; color: var(--text-muted); margin: 0 0 8px; }
.review-card .reviewer { font-size: .8rem; font-weight: 600; color: var(--text-primary); }

/* ---------- Trust badges row ---------- */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: .85rem;
  color: var(--text-muted);
}
.trust-badge .icon { font-size: 1.2rem; }

/* ---------- CTA block ---------- */
.cta-block {
  background: linear-gradient(135deg, rgba(0,200,83,.12), rgba(0,200,83,.05));
  border: 1px solid rgba(0,200,83,.3);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  margin: 40px 0;
}
.cta-block h2 { border: none; }
.cta-block h2::after { display: none; }
.cta-block p { color: var(--text-muted); margin-bottom: 20px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border-light); }

/* ---------- Disclaimer / footer note ---------- */
.disclaimer {
  font-size: .78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 32px;
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border);
  padding: 40px 20px 24px;
  color: var(--text-muted);
  font-size: .875rem;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 20px;
}
.footer-nav a { color: var(--text-muted); font-size: .85rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Bottom popup banner ---------- */
.popup-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(4, 13, 4, 0.97);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 24px rgba(0,0,0,.7);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  transform: translateY(0);
  transition: transform .3s ease;
}
.popup-banner.hidden { transform: translateY(100%); }
.popup-banner-text {
  font-size: .9rem;
  color: var(--text-primary);
  text-align: center;
}
.popup-banner-text strong { color: var(--accent); }
.popup-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color .2s;
}
.popup-close:hover { color: var(--text-primary); }

/* ---------- Age gate / responsible gambling bar ---------- */
.rg-bar {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  padding: 6px 20px;
  font-size: .73rem;
  color: var(--text-muted);
  text-align: center;
}
.rg-bar a { color: var(--text-muted); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-header);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
  }
  .site-nav.open { display: flex; }
  .nav-link { padding: 10px 14px; }
  .btn-nav { margin-top: 4px; text-align: center; }
  .site-header { position: relative; }
  .header-inner { flex-wrap: wrap; }

  .hero { padding: 36px 16px 32px; }
  .site-main { padding: 32px 16px 80px; }

  .review-grid { grid-template-columns: 1fr; }
  .trust-row { flex-direction: column; }

  .popup-banner { padding: 12px 44px 12px 16px; }
  .popup-banner-text { font-size: .83rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.35rem; }
  .hero .lead { font-size: .95rem; }
  .btn-lg { padding: 12px 20px; font-size: .95rem; }
  h2 { font-size: 1.15rem; }
  .card { padding: 16px; }
}

/* ---------- Utility ---------- */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: 32px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
