/* ============================================================
   Betzillo Australia — Shared Stylesheet
   ============================================================ */

:root {
  --brand-gold: #f0c050;
  --brand-gold-dark: #c99a20;
  --brand-green: #1db954;
  --bg-dark: #0a0e1a;
  --bg-card: #111827;
  --bg-card-hover: #1a2335;
  --bg-section: #0d1220;
  --text-primary: #f0f4ff;
  --text-secondary: #9aa5c4;
  --text-muted: #5a6480;
  --border: #1e2a45;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --transition: 0.18s ease;
  --max-w: 1140px;
  --font-head: 'Barlow', 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p  { color: var(--text-secondary); margin-bottom: 1rem; }
a  { color: var(--brand-gold); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.8; }

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 72px 0; }
.section-sm { padding: 48px 0; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,14,26,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 36px; }
.nav-logo span {
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 800;
  color: var(--brand-gold); letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--text-secondary); font-size: 0.9rem;
  font-weight: 500; transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  display: flex; gap: 10px; align-items: center;
}
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); margin: 5px 0;
  transition: var(--transition);
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg-dark);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
  }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; border-radius: var(--radius);
  font-weight: 700; font-size: 0.95rem;
  cursor: pointer; border: none;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brand-gold);
  color: #0a0e1a;
  box-shadow: 0 4px 20px rgba(240,192,80,0.35);
}
.btn-primary:hover { box-shadow: 0 6px 28px rgba(240,192,80,0.5); opacity: 1; }
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--brand-gold); color: var(--brand-gold); opacity: 1; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 560px;
  display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0e1a 0%, #0d1a2e 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/banners/banner-sportsbook.png');
  background-size: cover; background-position: center;
  opacity: 0.22;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,14,26,0.95) 40%, rgba(10,14,26,0.4) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 600px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,192,80,0.12);
  border: 1px solid rgba(240,192,80,0.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem; font-weight: 700;
  color: var(--brand-gold);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 16px; }
.hero h1 span { color: var(--brand-gold); }
.hero-sub {
  font-size: 1.05rem; color: var(--text-secondary);
  margin-bottom: 28px; max-width: 480px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
}
.hero-stat-value {
  font-size: 1.5rem; font-weight: 800;
  color: var(--brand-gold); font-family: var(--font-head);
}
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* ── Bonus Banner ── */
.bonus-banner {
  background: linear-gradient(135deg, #1a2a0a 0%, #0f1e1a 100%);
  border: 1px solid rgba(29,185,84,0.25);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin: -32px 0 0;
  position: relative; z-index: 3;
}
.bonus-banner-text h3 { color: var(--brand-green); font-size: 1.1rem; margin-bottom: 4px; }
.bonus-banner-text p { color: var(--text-secondary); font-size: 0.9rem; margin: 0; }
.bonus-banner-offer {
  font-family: var(--font-head);
  font-size: 2rem; font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}
.bonus-banner-offer span { color: var(--brand-gold); }

/* ── Section Headers ── */
.section-header { margin-bottom: 40px; }
.section-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-gold); margin-bottom: 8px;
}
.section-header h2 { margin-bottom: 8px; }
.section-header p { color: var(--text-secondary); max-width: 560px; }

/* ── Feature Grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color var(--transition), background var(--transition);
}
.feature-card:hover {
  border-color: rgba(240,192,80,0.3);
  background: var(--bg-card-hover);
}
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(240,192,80,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.feature-card h3 { font-size: 1rem; margin-bottom: 6px; }
.feature-card p { font-size: 0.9rem; margin: 0; }

/* ── Payment Pills ── */
.payment-grid {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 20px;
}
.payment-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-secondary);
  display: flex; align-items: center; gap: 8px;
}
.payment-pill span { font-size: 1.1rem; }

/* ── Table ── */
.data-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table th {
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-card); }
.data-table .highlight { color: var(--text-primary); font-weight: 600; }
.data-table .fast { color: var(--brand-green); font-weight: 600; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; text-align: left;
  color: var(--text-primary); font-size: 0.95rem; font-weight: 600;
  font-family: var(--font-body);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-chevron {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--brand-gold);
  transition: transform var(--transition);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}
.faq-answer p { font-size: 0.9rem; margin: 0; }

/* ── Trust Bar ── */
.trust-bar {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex; align-items: center;
  justify-content: center;
  gap: 40px; flex-wrap: wrap;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-muted);
  font-weight: 500;
}
.trust-item span { font-size: 1rem; }

/* ── Responsible Gambling Banner ── */
.rg-banner {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex; align-items: flex-start; gap: 16px;
  margin-top: 48px;
}
.rg-icon { font-size: 1.5rem; flex-shrink: 0; }
.rg-banner p { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.rg-banner strong { color: var(--text-secondary); }

/* ── Footer ── */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); margin-top: 12px; max-width: 280px; }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--text-secondary); }
.footer-col a:hover { color: var(--text-primary); opacity: 1; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--text-secondary);
  transition: border-color var(--transition), color var(--transition);
}
.footer-social a:hover { border-color: var(--brand-gold); color: var(--brand-gold); opacity: 1; }

/* ── Page Header (inner pages) ── */
.page-header {
  background: linear-gradient(135deg, #0a0e1a 0%, #0d1a2e 100%);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}
.page-header .breadcrumb {
  font-size: 0.8rem; color: var(--text-muted);
  margin-bottom: 12px;
}
.page-header .breadcrumb a { color: var(--brand-gold); }
.page-header .breadcrumb span { margin: 0 6px; }
.page-header h1 { margin-bottom: 12px; }
.page-header p { color: var(--text-secondary); max-width: 560px; font-size: 1.05rem; }

/* ── Highlight Box ── */
.highlight-box {
  background: rgba(240,192,80,0.07);
  border: 1px solid rgba(240,192,80,0.2);
  border-left: 3px solid var(--brand-gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.highlight-box p { color: var(--text-secondary); margin: 0; font-size: 0.9rem; }

/* ── Checklist ── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.95rem; color: var(--text-secondary);
}
.checklist li::before {
  content: "✓";
  color: var(--brand-green);
  font-weight: 700; flex-shrink: 0;
  margin-top: 2px;
}

/* ── Step List ── */
.step-list { display: flex; flex-direction: column; gap: 24px; counter-reset: steps; }
.step-item {
  display: flex; gap: 20px; align-items: flex-start;
  counter-increment: steps;
}
.step-num {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(240,192,80,0.12);
  border: 1px solid rgba(240,192,80,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 0.95rem; font-weight: 800;
  color: var(--brand-gold);
}
.step-item h3 { font-size: 1rem; margin-bottom: 4px; }
.step-item p  { font-size: 0.9rem; margin: 0; }

/* ── Utility ── */
.text-gold  { color: var(--brand-gold); }
.text-green { color: var(--brand-green); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: start;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* ── Game Grid ── */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}
.game-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.game-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.game-card:hover {
  transform: translateY(-3px);
  border-color: rgba(240,192,80,0.45);
  box-shadow: 0 10px 32px rgba(0,0,0,0.5);
}
.game-card:hover img { transform: scale(1.05); }
.game-card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 10px 8px;
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-primary);
  background: linear-gradient(to top, rgba(10,14,26,0.95), transparent);
  letter-spacing: 0.02em;
}

/* ── Provider Strip ── */
.provider-strip {
  display: flex; flex-wrap: wrap;
  gap: 16px; align-items: center; justify-content: center;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.provider-strip img {
  height: 32px; width: auto;
  opacity: 0.75;
  filter: grayscale(1) brightness(1.4);
  transition: opacity var(--transition), filter var(--transition);
}
.provider-strip img:hover { opacity: 1; filter: grayscale(0) brightness(1); }

/* ── League Grid ── */
.league-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}
.league-card {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  padding: 18px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.league-card:hover {
  border-color: rgba(240,192,80,0.35);
  background: var(--bg-card-hover);
}
.league-card img {
  height: 36px; width: auto; max-width: 60px;
  filter: brightness(1.1);
}
.league-card span {
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ── Payment Logos ── */
.payment-logos {
  display: flex; flex-wrap: wrap;
  gap: 14px; align-items: center;
  margin-top: 20px;
}
.payment-logos img {
  height: 38px; width: auto;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color var(--transition);
}
.payment-logos img:hover { border-color: var(--brand-gold); }

/* ── Section Banner Image ── */
.section-banner {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: block;
  margin: 0 0 32px;
}

/* ── Schema / hidden ── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
