/* ============================================================
   Wonder Luck Australia — Global Design System
   wonder-luck-australia.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --bg:           #080E1C;
  --bg-2:         #0D1525;
  --bg-card:      #111B2E;
  --bg-card-2:    #162238;
  --gold:         #C9A227;
  --gold-lt:      #E8D5A0;
  --gold-dim:     #8B6D15;
  --gold-grad:    linear-gradient(135deg, #C9A227 0%, #F0D060 50%, #C9A227 100%);
  --gold-grad-v:  linear-gradient(180deg, #F0D060 0%, #C9A227 100%);
  --white:        #FFFFFF;
  --text-1:       #FFFFFF;
  --text-2:       #B8C6D8;
  --text-3:       #7A8FA6;
  --border:       rgba(201,162,39,0.18);
  --border-soft:  rgba(255,255,255,0.06);
  --green:        #27C97A;
  --red:          #E54F4F;
  --blue:         #3B82F6;
  --purple:       #8B5CF6;
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    22px;
  --radius-xl:    32px;
  --shadow:       0 8px 32px rgba(0,0,0,0.45);
  --shadow-gold:  0 4px 24px rgba(201,162,39,0.22);
  --transition:   0.28s cubic-bezier(0.4,0,0.2,1);
  --max-w:        1280px;
  --header-h:     72px;
  --font-head:    'Cinzel', serif;
  --font-body:    'Inter', sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ── Typography ────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text-2); font-size: 1rem; }

.gold-text { color: var(--gold); }
.gold-grad-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,162,39,0.08);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 5px 14px;
  margin-bottom: 14px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: var(--transition);
  text-transform: uppercase;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold-grad);
  color: #1a0f00;
  box-shadow: 0 4px 20px rgba(201,162,39,0.35);
}
.btn-gold:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,162,39,0.45);
}
.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(201,162,39,0.08);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--bg-card-2);
  color: var(--text-1);
  border: 1px solid var(--border-soft);
}
.btn-dark:hover { background: var(--bg-card); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; border-radius: var(--radius-sm); }

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.card:hover { border-color: var(--border); transform: translateY(-3px); box-shadow: var(--shadow); }
.card-gold {
  background: linear-gradient(135deg, rgba(201,162,39,0.06) 0%, rgba(201,162,39,0.02) 100%);
  border-color: var(--border);
}

/* ── Badges ────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-gold { background: rgba(201,162,39,0.15); color: var(--gold); border: 1px solid var(--border); }
.badge-green { background: rgba(39,201,122,0.12); color: var(--green); }
.badge-new { background: linear-gradient(135deg, #3B82F6, #8B5CF6); color: #fff; }

/* ── Tables ────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.tbl th {
  background: var(--bg-card-2);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.tbl td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-2);
  vertical-align: middle;
}
.tbl tbody tr:hover td { background: rgba(255,255,255,0.025); color: var(--text-1); }
.tbl tbody tr:last-child td { border-bottom: none; }

/* ── Section layout ────────────────────────────────────────── */
section { position: relative; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 52px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-header p { font-size: 1.05rem; margin-top: 14px; }
.divider { width: 56px; height: 3px; background: var(--gold-grad); border-radius: 2px; margin: 16px auto 0; }

/* ── Grid helpers ──────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,39,0.4); }
  50%       { box-shadow: 0 0 0 10px rgba(201,162,39,0); }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── Global table overflow fix ──────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}
.tbl, table {
  width: 100%;
  border-collapse: collapse;
}

/* ── Global flex overflow safety ────────────────────────────── */
.vip-tier-row, [class*="tier-row"], [class*="-row"] {
  flex-wrap: wrap;
}


/* ── Gold shimmer effect ────────────────────────────────────── */
.shimmer-btn {
  position: relative;
  overflow: hidden;
}
.shimmer-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shimmer 2.4s infinite;
}

/* ── HEADER ─────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(8,14,28,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-soft);
  transition: var(--transition);
}
#site-header.scrolled {
  background: rgba(8,14,28,0.98);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-svg { height: 42px; width: auto; }
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.15;
}
.logo-text span { display: block; color: var(--gold); font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--font-body); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  transition: var(--transition);
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a.active { color: var(--gold); background: rgba(201,162,39,0.06); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 10px 20px; font-size: 0.84rem; }

/* Mobile header */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 16px 24px 20px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-2);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--gold); background: rgba(201,162,39,0.06); }
.mobile-menu .btn { margin-top: 10px; text-align: center; justify-content: center; }
.mobile-menu.open { display: flex; }

/* ── FOOTER ─────────────────────────────────────────────────── */
#site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border-soft);
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-soft);
}
.footer-brand p { font-size: 0.9rem; margin-top: 12px; max-width: 280px; }
.footer-brand .logo-text span { display: inline; margin-left: 6px; }
.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-3);
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-3); }
.footer-badges { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--text-3);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
}
.footer-disclaimer {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--border-soft);
  padding: 16px 0;
  margin-top: 0;
}
.footer-disclaimer p {
  font-size: 0.75rem;
  color: var(--text-3);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ── Payment icons row ──────────────────────────────────────── */
.payment-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pay-icon {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  transition: var(--transition);
}
.pay-icon:hover { border-color: var(--border); color: var(--text-1); }

/* ── Accordion / FAQ ────────────────────────────────────────── */
.accordion-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 10px;
  transition: var(--transition);
}
.accordion-item:hover { border-color: var(--border); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-card);
  color: var(--text-1);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.accordion-trigger:hover { background: var(--bg-card-2); }
.accordion-trigger .icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  font-size: 0.85rem;
  color: var(--gold);
}
.accordion-item.open .accordion-trigger { background: var(--bg-card-2); }
.accordion-item.open .accordion-trigger .icon { background: var(--gold); color: #1a0f00; transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.28s ease;
}
.accordion-body-inner {
  padding: 6px 22px 20px;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Author widget ──────────────────────────────────────────── */
.author-widget {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.author-avatar {
  flex-shrink: 0;
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.author-info h4 { font-size: 1rem; margin-bottom: 4px; }
.author-info .title {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.author-info p { font-size: 0.88rem; line-height: 1.6; }

/* ── Scroll-to-top ──────────────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #1a0f00;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 900;
  box-shadow: var(--shadow-gold);
}
#scroll-top.visible { opacity: 1; pointer-events: all; }
#scroll-top:hover { transform: translateY(-3px); }

/* ── Responsive ─────────────────────────────────────────────── */

/* Prevent horizontal overflow on all pages */
html, body { overflow-x: hidden; max-width: 100%; }
*, *::before, *::after { box-sizing: border-box; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .game-cards { grid-template-columns: repeat(2, 1fr); }
  .bonus-tiers { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .method-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  /* Header — show burger, hide desktop nav */
  .site-nav, .header-actions .btn-outline { display: none; }
  .burger { display: flex; }

  /* Global single-column grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  /* Page-specific grids → single column */
  .two-col,
  .three-col,
  .compare-wrap,
  .credentials-wrap,
  .feature-strip,
  .bon-hero-inner,
  .bonus-tiers,
  .game-cards,
  .stats-strip,
  .expertise-grid,
  .articles-grid,
  .method-steps,
  .author-profile { grid-template-columns: 1fr !important; gap: 20px; }

  /* Mobile-app hero */
  .mob-hero-inner { grid-template-columns: 1fr !important; align-items: center; }
  .mob-hero-img { margin-top: 0; max-height: 300px; border-radius: 16px; }

  /* Homepage hero */
  .hero { min-height: auto; }
  .hero-content { padding: 36px 0 32px !important; max-width: 100% !important; }
  .bonus-card { display: none; } /* hide floating card on mobile — it overlaps */

  /* Tables — allow horizontal scroll */
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table { min-width: 480px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* General spacing */
  .section-pad { padding: 48px 0; }
  .section-pad-sm { padding: 32px 0; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }

  /* Author widget */
  .author-widget { flex-direction: column; gap: 14px; }
  .author-avatar { width: 56px; height: 56px; }

  /* Game cards on pokies */
  .game-cards-grid { grid-template-columns: 1fr 1fr !important; }

  /* Bonus card on homepage */
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Author page profile */
  .author-avatar-lg { width: 130px !important; height: 130px !important; margin: 0 auto; }
  .author-stats-row { justify-content: center; }
  .author-social { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .container { padding: 0 16px; }

  /* All grids → 1 col on smallest screens */
  .game-cards, .game-cards-grid { grid-template-columns: 1fr !important; }
  .bonus-tiers { grid-template-columns: 1fr !important; }
  .three-col, .feature-strip { grid-template-columns: 1fr !important; }

  /* Tables on pokies */
  .stats-strip { grid-template-columns: 1fr 1fr !important; }

  /* Wider padding for text readability */
  .section-pad { padding: 36px 0; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
}

