/* Betzillo Casino Guide AU — shared stylesheet v2 (casino atmosphere)
   Brand: deep electric purple + neon lime on near-black
*/

:root {
  --bg: #06030F;
  --bg-2: #0B0620;
  --surface: #120A28;
  --surface-2: #1C1140;
  --surface-3: #261858;
  --purple: #6B2FE3;
  --purple-2: #8A56FF;
  --purple-deep: #3C16A0;
  --lime: #C6FF3D;
  --lime-soft: #E0FF8A;
  --lime-glow: rgba(198, 255, 61, 0.6);
  --gold: #FFD700;
  --text: #FFFFFF;
  --muted: #B8B5C8;
  --red: #E63946;
  --green: #2ECC71;
  --border: rgba(107, 47, 227, 0.5);
  --border-hi: rgba(198, 255, 61, 0.5);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  --shadow-lime: 0 0 24px rgba(198, 255, 61, 0.4);
  --shadow-purple: 0 0 30px rgba(107, 47, 227, 0.5);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --grad-purple: linear-gradient(135deg, #6B2FE3 0%, #8A56FF 100%);
  --grad-card: linear-gradient(180deg, rgba(28, 17, 64, 0.7) 0%, rgba(18, 10, 40, 0.9) 100%);
  --grad-hero: radial-gradient(ellipse at 20% 0%, rgba(107, 47, 227, 0.35) 0%, transparent 50%),
               radial-gradient(ellipse at 80% 30%, rgba(198, 255, 61, 0.12) 0%, transparent 50%),
               radial-gradient(ellipse at 50% 100%, rgba(138, 86, 255, 0.2) 0%, transparent 60%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

/* Atmospheric body backdrop — fixed, performant, no layout cost */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 20%, rgba(107, 47, 227, 0.25) 0%, transparent 35%),
    radial-gradient(circle at 85% 60%, rgba(138, 86, 255, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(198, 255, 61, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  pointer-events: none;
}

/* SVG noise / grain overlay — adds depth, kills banding */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.18 0 0 0 0 0.89 0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: overlay;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.2; margin-top: 0; letter-spacing: -0.01em; }
h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  background: linear-gradient(180deg, #FFFFFF 0%, #D7CFF5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; margin: 56px 0 20px; }
h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), transparent);
  margin-top: 12px;
  border-radius: 2px;
}
h3 { font-size: 21px; font-weight: 500; margin: 24px 0 12px; }
h4 { font-size: 17px; font-weight: 700; margin: 16px 0 8px; color: var(--lime); }
p { margin: 0 0 16px; color: var(--text); }
a { color: var(--lime); text-decoration: none; transition: color .15s ease; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 24px; margin: 0 0 16px; }
li { margin-bottom: 8px; }
hr {
  border: none;
  height: 60px;
  margin: 48px 0;
  background-image: url("/images/section-divider.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.85;
}

/* Verified bar — glowing pill across top */
.verified-bar {
  background: linear-gradient(90deg, var(--purple-deep), var(--purple), var(--purple-2));
  color: white;
  padding: 12px 16px;
  font-size: 14px;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 4px 24px rgba(107, 47, 227, 0.3);
  position: relative;
  z-index: 60;
}
.verified-bar strong { color: var(--lime); text-shadow: 0 0 12px var(--lime-glow); }

/* Header — frosted glass */
header {
  background: rgba(18, 10, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky; top: 0; z-index: 50;
}
.container { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo {
  height: 44px;
  width: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 16px rgba(198, 255, 61, 0.35));
}
.nav-links { display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--text); position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--lime);
  transition: width .2s ease;
}
.nav-links a:hover { color: var(--lime); text-decoration: none; }
.nav-links a:hover::after { width: 100%; }

/* Buttons — punchy with glow */
.btn {
  display: inline-block;
  background: var(--lime);
  color: #000;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 14px;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px rgba(198, 255, 61, 0.25);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left .5s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(198, 255, 61, 0.45);
  text-decoration: none;
  filter: brightness(1.1);
}
.btn:hover::before { left: 100%; }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 12px; }
.btn-secondary {
  background: transparent;
  color: var(--lime);
  border: 2px solid var(--lime);
  box-shadow: none;
}
.btn-secondary:hover { background: var(--lime); color: #000; }
.btn-purple { background: var(--grad-purple); color: white; box-shadow: 0 4px 12px rgba(107, 47, 227, 0.4); }
.btn-purple:hover { box-shadow: 0 8px 24px rgba(107, 47, 227, 0.6); }

/* Pulse on the most important CTA */
.btn-lg.btn:not(.btn-secondary):not(.btn-purple) {
  animation: pulse-glow 2.5s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 12px rgba(198, 255, 61, 0.25); }
  50% { box-shadow: 0 4px 24px rgba(198, 255, 61, 0.55), 0 0 40px rgba(198, 255, 61, 0.2); }
}

/* HERO — atmospheric, layered: bg image + gradient overlay + decorative chips */
.hero {
  padding: 80px 32px 60px;
  position: relative;
  margin: 12px -20px 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(6, 3, 15, 0.55) 0%, rgba(6, 3, 15, 0.7) 60%, rgba(6, 3, 15, 0.95) 100%),
    url("/images/15-hero-bg.webp");
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  opacity: 0.5;
}
.hero > * { position: relative; z-index: 1; }
/* Decorative diamond accent in hero corner */
.hero::after {
  content: "♦";
  position: absolute;
  top: 30px; right: 30px;
  color: var(--lime);
  font-size: 36px;
  opacity: 0.4;
  text-shadow: 0 0 20px var(--lime-glow);
  pointer-events: none;
  z-index: 1;
}
.hero p.lead { font-size: 19px; color: var(--muted); margin-bottom: 28px; max-width: 720px; }
.hero-img { margin: 28px 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.meta { font-size: 13px; color: var(--muted); margin-top: 16px; }
.meta strong { color: var(--lime); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 8px; }

/* Sections */
section { padding: 8px 0; position: relative; }

/* Alerts — with glow accents */
.alert {
  background: linear-gradient(135deg, rgba(28, 17, 64, 0.8) 0%, rgba(38, 24, 88, 0.6) 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--lime);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 20px 0;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}
.alert.warn { border-left-color: var(--red); box-shadow: var(--shadow-card), inset 4px 0 12px rgba(230, 57, 70, 0.15); }
.alert.success { border-left-color: var(--green); }
.alert strong { color: var(--lime); }
.alert.warn strong { color: var(--red); }
.alert.success strong { color: var(--green); }

/* Tables — premium feel */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(107, 47, 227, 0.2); }
th { background: rgba(38, 24, 88, 0.6); color: var(--lime); font-weight: 600; font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; letter-spacing: 0.04em; font-size: 12px; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(107, 47, 227, 0.08); }
code {
  background: var(--surface-2);
  padding: 3px 9px;
  border-radius: 5px;
  font-family: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  color: var(--lime);
  font-size: 0.92em;
  border: 1px solid rgba(198, 255, 61, 0.15);
}

/* Pros / cons cards */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 20px 0 28px; }
.proscons > div {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}
.proscons h4 { margin-top: 0; font-size: 18px; }
.pros { border-top: 3px solid var(--green); }
.cons { border-top: 3px solid var(--red); }
.pros h4 { color: var(--green); }
.cons h4 { color: var(--red); }
.proscons ul { list-style: none; padding: 0; margin: 0; }
.proscons li { padding-left: 28px; position: relative; margin-bottom: 12px; }
.pros li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; font-size: 16px; }
.cons li::before { content: "✗"; position: absolute; left: 0; color: var(--red); font-weight: 700; font-size: 16px; }

/* Stats grid — neon casino-counter feel */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 28px 0; }
.stat {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .15s ease, border-color .15s ease;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}
.stat::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(198, 255, 61, 0.08) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.stat:hover { transform: translateY(-3px); border-color: var(--border-hi); }
.stat:hover::before { opacity: 1; }
.stat .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--lime);
  display: block;
  text-shadow: 0 0 20px var(--lime-glow);
  letter-spacing: -0.02em;
}
.stat .label { font-size: 12px; color: var(--muted); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.06em; }

/* Steps */
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  margin: 28px 0;
}
.step-num {
  background: var(--grad-purple);
  color: white;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(107, 47, 227, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.step-num::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .2s ease;
}
.step:hover .step-num::after { opacity: 0.6; }
.step h3 { margin-top: 8px; }
.step img { margin: 14px 0; border-radius: 10px; border: 1px solid var(--border); box-shadow: var(--shadow-card); }

/* FAQ accordion */
details {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 10px 0;
  backdrop-filter: blur(10px);
  transition: border-color .2s ease;
}
details[open] { border-color: var(--border-hi); box-shadow: var(--shadow-card), 0 0 0 1px rgba(198, 255, 61, 0.15); }
summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  padding-right: 28px;
  position: relative;
  font-size: 15px;
}
summary::after { content: "+"; position: absolute; right: 0; top: -2px; color: var(--lime); font-size: 24px; line-height: 1; transition: transform .2s ease; }
details[open] summary::after { content: "−"; transform: rotate(0deg); }
details p { margin: 14px 0 0; color: var(--muted); }
details ol, details ul { margin: 14px 0 0; color: var(--muted); }

/* Related links */
.related {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 36px 0;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}
.related h3 { margin-top: 0; color: var(--lime); font-size: 18px; }
.related ul { list-style: none; padding: 0; }
.related li { margin-bottom: 12px; }
.related a { font-weight: 500; }

/* Author card */
.author {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 44px 0;
  display: flex; align-items: center; gap: 18px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}
.author-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--grad-purple); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(107, 47, 227, 0.5);
  border: 2px solid var(--lime);
  object-fit: cover;
  object-position: center top;
}
img.author-avatar { padding: 0; }
.author-meta { font-size: 14px; }
.author-meta strong { color: var(--lime); font-size: 17px; }
.author-meta .updated { color: var(--muted); font-size: 13px; }

/* Bonus card — premium, glowing, with chip motif background */
.bonus-card {
  background:
    linear-gradient(135deg, rgba(18, 10, 40, 0.92) 0%, rgba(28, 17, 64, 0.75) 60%, rgba(60, 22, 160, 0.55) 100%),
    url("/images/bonus-bg.webp");
  background-size: cover;
  background-position: center;
  border: 2px solid var(--purple);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 40px rgba(107, 47, 227, 0.25);
  backdrop-filter: blur(10px);
}
.bonus-card::before {
  content: "";
  position: absolute; top: -60%; right: -25%;
  width: 70%; height: 220%;
  background: radial-gradient(ellipse, rgba(198, 255, 61, 0.12) 0%, transparent 60%);
  pointer-events: none;
  animation: drift 8s ease-in-out infinite;
}
.bonus-card::after {
  content: "♦";
  position: absolute;
  top: 16px; right: 24px;
  color: var(--lime);
  font-size: 32px;
  opacity: 0.4;
  text-shadow: 0 0 16px var(--lime-glow);
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 10px); }
}
.bonus-card .meta {
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  margin: 0;
}
.bonus-card .amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: white;
  margin: 10px 0;
  text-shadow: 0 0 30px rgba(198, 255, 61, 0.3);
  letter-spacing: -0.02em;
}
.bonus-card .terms { font-size: 13px; color: var(--muted); margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(107, 47, 227, 0.3); }

/* Footer */
footer {
  background: linear-gradient(180deg, transparent 0%, rgba(11, 6, 32, 0.8) 50%, rgba(6, 3, 15, 1) 100%);
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  margin-top: 60px;
  font-size: 13px;
  color: var(--muted);
}
footer p { margin-bottom: 12px; }
footer .footer-nav { display: flex; gap: 22px; flex-wrap: wrap; margin: 18px 0; font-size: 13px; }
footer .footer-nav a { color: var(--muted); }
footer .footer-nav a:hover { color: var(--lime); }
.responsible {
  background: rgba(38, 24, 88, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  margin-top: 16px;
  backdrop-filter: blur(10px);
}
.responsible strong { color: var(--lime); }

/* Sticky mobile CTA */
.sticky-mobile {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(11, 6, 32, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-hi);
  padding: 12px 16px;
  z-index: 100;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
}
.sticky-mobile a { display: block; text-align: center; }

/* Mobile */
@media (max-width: 640px) {
  .sticky-mobile { display: block; }
  body { padding-bottom: 70px; }
  .nav-links { display: none; }
  .step { grid-template-columns: 46px 1fr; gap: 14px; }
  .step-num { width: 42px; height: 42px; font-size: 19px; }
  table { font-size: 13px; }
  th, td { padding: 10px 12px; }
  .proscons { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 30px; }
  .bonus-card { padding: 24px; }
  .bonus-card .amount { font-size: 32px; }
}

/* 404 */
.error-page { padding: 80px 0; text-align: center; }
.error-page h1 {
  font-size: 120px;
  background: var(--grad-purple);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0;
  text-shadow: 0 0 80px rgba(107, 47, 227, 0.6);
}
.error-page p { font-size: 18px; color: var(--muted); margin-bottom: 32px; }

/* Mobile hero adjustments */
@media (max-width: 640px) {
  .hero { padding: 50px 20px 40px; margin: 8px -12px 16px; }
  .hero::after { top: 16px; right: 16px; font-size: 28px; }
}
