/* Jackpot Jill — global styles. Palette: dark emerald + gold, Aussie fantasy */

:root{
  --bg:#0A0F0C;--bg-2:#0D1812;--surface:#11241B;--surface-2:#163024;--border:#1F3A2C;
  --emerald:#1B5E3F;--emerald-bright:#27A468;--emerald-soft:#0F3D2E;
  --gold:#D4AF37;--gold-light:#F4C842;--gold-deep:#9C7F1F;
  --text:#F5EEDC;--muted:#A7B3AB;--danger:#E5484D;--success:#27A468;
  --maxw:1200px;--radius:14px;--shadow:0 10px 40px rgba(0,0,0,.4);
  --font: ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{overflow-x:hidden;max-width:100%}
body{
  margin:0;background:var(--bg);color:var(--text);font-family:var(--font);
  font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--gold-light);text-decoration:none}
a:hover{color:var(--gold);text-decoration:underline}
/* Inline text links inside paragraphs and list items must have an underline (a11y) */
p a,li a,.callout a{text-decoration:underline;text-underline-offset:2px}
p a:hover,li a:hover,.callout a:hover{text-decoration-thickness:2px}
h1,h2,h3,h4{font-family:var(--font);font-weight:800;line-height:1.2;color:var(--text);margin:0 0 .5em}
h1{font-size:clamp(2rem,4.6vw,3.4rem);letter-spacing:-.02em}
h2{font-size:clamp(1.5rem,3vw,2.2rem);letter-spacing:-.01em;color:var(--gold-light)}
h3{font-size:1.25rem;color:var(--gold-light)}
p{margin:0 0 1em}
.container{max-width:var(--maxw);margin:0 auto;padding:0 22px}
.section{padding:64px 0}
.section-tight{padding:40px 0}

/* HEADER */
.site-header{
  position:sticky;top:0;z-index:50;background:rgba(10,15,12,.92);
  backdrop-filter:blur(8px);border-bottom:1px solid var(--border);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;
  height:72px;gap:16px}
.logo{display:flex;align-items:center;gap:10px;color:var(--text);font-weight:800;
  font-size:1.15rem;letter-spacing:.02em}
.logo img{height:44px;width:auto;max-width:240px}
.logo-text{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media (max-width:480px){ .logo img{height:38px;max-width:180px} }
.nav-toggle{display:none;background:transparent;border:1px solid var(--border);
  color:var(--text);border-radius:8px;padding:8px 10px;cursor:pointer;font-size:1.1rem}
.nav{display:flex;gap:6px;align-items:center}
.nav a{color:var(--text);padding:10px 14px;border-radius:8px;font-weight:600;font-size:.96rem}
.nav a:hover{background:var(--surface);color:var(--gold-light);text-decoration:none}
.nav a.active{background:var(--emerald-soft);color:var(--gold-light)}
.header-cta{background:linear-gradient(180deg,var(--gold-light),var(--gold));color:#1c1605;
  padding:10px 18px;border-radius:10px;font-weight:800;font-size:.95rem;
  box-shadow:0 6px 16px rgba(212,175,55,.25)}
.header-cta:hover{filter:brightness(1.06);text-decoration:none;color:#0d0a02}
.mobile-cta-bar{display:none}

@media (max-width:880px){
  .header-inner{gap:10px}
  .logo{order:0;flex:0 1 auto;min-width:0}
  .logo img{max-width:140px}
  .header-cta{order:1;margin-left:auto;padding:9px 14px;font-size:.85rem;white-space:nowrap}
  .nav-toggle{order:2;display:inline-flex;font-size:0;line-height:1;padding:9px 12px}
  .nav-toggle::before{content:"\2630";font-size:1.4rem;line-height:1}
  .nav{order:3;display:none;position:absolute;top:72px;left:0;right:0;background:var(--bg-2);
    border-bottom:1px solid var(--border);flex-direction:column;align-items:stretch;
    padding:14px 22px;gap:2px}
  .nav.open{display:flex}
  .nav a{padding:12px 14px}
  .mobile-cta-bar{display:flex;background:var(--emerald-soft);
    padding:10px 22px;justify-content:center;border-bottom:1px solid var(--border)}
  .mobile-cta-bar a{background:linear-gradient(180deg,var(--gold-light),var(--gold));
    color:#1c1605;padding:11px 22px;border-radius:10px;font-weight:800;font-size:.95rem;
    width:100%;text-align:center}
}

/* HERO — full banner image with h1 placed under the in-image "JACKPOT JILL" logo */
.hero{
  position:relative;
  min-height:0;height:auto;
  aspect-ratio: 1920 / 720;
  padding:0;
  background:#0A0F0C url(/images/home/hero-main.webp) center top/cover no-repeat;
  border-bottom:1px solid var(--border);overflow:hidden;
  display:block;
}
.hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(10,15,12,.7) 0%,
      rgba(10,15,12,.45) 35%,
      rgba(10,15,12,.3) 70%,
      rgba(10,15,12,.35) 100%),
    rgba(10,15,12,.15);
}
.hero > .container{
  position:relative;z-index:1;
  max-width:none;width:100%;height:100%;
  display:flex;align-items:flex-start;
  padding:clamp(90px, 11.5vw, 200px) 24px 24px clamp(20px, 4.5vw, 90px);
}
/* Default 2-column hero-grid for in-body sections */
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
.hero-image{position:relative}
.hero-image img{border-radius:18px;box-shadow:var(--shadow)}
/* …but inside the page-top .hero — single column overlay */
.hero .hero-grid{display:block;max-width:480px;margin:0}
.hero .hero-image{display:none}
.hero h1{font-size:clamp(1.3rem, 2.1vw, 2.2rem);margin-bottom:.4em;text-shadow:0 2px 18px rgba(0,0,0,.6)}
.hero .lede{font-size:clamp(.9rem, 1.1vw, 1.1rem);color:#E8E1CC;max-width:42ch;margin-bottom:1.1em;text-shadow:0 1px 10px rgba(0,0,0,.7)}
.hero .btn{padding:10px 18px;font-size:.92rem}
.hero-cta-row{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 26px;border-radius:12px;font-weight:800;font-size:1rem;
  border:1px solid transparent;transition:all .15s ease;cursor:pointer;
}
.btn-primary{background:linear-gradient(180deg,var(--gold-light),var(--gold));
  color:#1c1605;box-shadow:0 8px 24px rgba(212,175,55,.28)}
.btn-primary:hover{filter:brightness(1.08);text-decoration:none;color:#0d0a02;transform:translateY(-1px)}
.btn-ghost{background:transparent;color:var(--text);border-color:var(--border)}
.btn-ghost:hover{border-color:var(--gold);color:var(--gold-light);text-decoration:none}
.hero-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.badge{display:inline-flex;align-items:center;gap:6px;background:var(--surface);
  border:1px solid var(--border);color:var(--gold-light);
  padding:6px 12px;border-radius:999px;font-size:.85rem;font-weight:700}

@media (max-width:880px){
  .hero{
    aspect-ratio:unset;min-height:380px;padding:36px 0;
    background-position:70% center;display:flex;align-items:center;
  }
  .hero::before{background:linear-gradient(180deg,
    rgba(10,15,12,.4) 0%,
    rgba(10,15,12,.75) 60%,
    rgba(10,15,12,.92) 100%)}
  .hero > .container{padding:0 22px;align-items:center;height:auto}
  .hero h1{font-size:1.7rem}
  .hero .lede{font-size:.98rem}
  .hero-grid{grid-template-columns:1fr;gap:28px}
}

/* GENERIC SECTIONS */
.section-head{max-width:780px;margin:0 auto 40px;text-align:center}
.section-head p{color:var(--muted)}
.bg-2{background:var(--bg-2)}
.bg-surface{background:var(--surface)}

/* CARDS */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:26px;transition:border-color .15s ease,transform .15s ease}
.card:hover{border-color:var(--gold-deep);transform:translateY(-2px)}
.card h3{margin-top:0;color:var(--gold-light)}
.card .icon{width:44px;height:44px;border-radius:10px;background:var(--emerald-soft);
  display:flex;align-items:center;justify-content:center;color:var(--gold-light);
  margin-bottom:14px;font-size:1.3rem;font-weight:800}
.cards-2{grid-template-columns:repeat(2,1fr)}
.cards-4{grid-template-columns:repeat(4,1fr)}
@media (max-width:880px){
  .cards,.cards-2,.cards-4{grid-template-columns:1fr}
}

/* TABLES */
.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius);
  background:var(--surface)}
table.t{width:100%;border-collapse:collapse;font-size:.95rem}
table.t th, table.t td{padding:14px 18px;text-align:left;
  border-bottom:1px solid var(--border)}
table.t th{background:var(--emerald-soft);color:var(--gold-light);
  font-weight:700;font-size:.9rem;text-transform:uppercase;letter-spacing:.04em}
table.t tr:last-child td{border-bottom:none}
table.t tr:hover td{background:var(--surface-2)}
.t-center th,.t-center td{text-align:center}
.t-center th:first-child,.t-center td:first-child{text-align:left}

/* CHART: horizontal bar */
.bars{display:flex;flex-direction:column;gap:14px}
.bar-row{display:grid;grid-template-columns:200px 1fr 70px;gap:14px;align-items:center}
.bar-row .label{font-weight:700;color:var(--text)}
.bar-row .track{height:18px;background:var(--surface-2);border-radius:999px;overflow:hidden;
  border:1px solid var(--border)}
.bar-row .fill{height:100%;background:linear-gradient(90deg,var(--emerald-bright),var(--gold));
  border-radius:999px}
.bar-row .val{font-family:ui-monospace,Menlo,Consolas,monospace;color:var(--gold-light);
  font-weight:800;text-align:right}
@media (max-width:680px){
  .bar-row{grid-template-columns:120px 1fr 56px;gap:8px;font-size:.88rem}
}

/* CHART: vertical bars */
.vbars{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;
  height:280px;padding:18px 8px;background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius)}
.vbar{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px}
.vbar .col{width:100%;background:linear-gradient(180deg,var(--gold-light),var(--emerald-bright));
  border-radius:8px 8px 0 0;position:relative;min-height:24px}
.vbar .col::after{content:attr(data-val);position:absolute;top:-22px;left:50%;
  transform:translateX(-50%);color:var(--gold-light);font-size:.85rem;font-weight:800}
.vbar .cap{font-size:.85rem;color:var(--muted);text-align:center}

/* CHART: donut (CSS only) */
.donut-wrap{display:flex;gap:32px;align-items:center;flex-wrap:wrap;justify-content:center}
.donut{--p:35;--c:var(--gold);width:200px;height:200px;border-radius:50%;
  background:conic-gradient(var(--c) calc(var(--p)*1%), var(--surface-2) 0);
  display:flex;align-items:center;justify-content:center;position:relative;
  border:1px solid var(--border)}
.donut::before{content:"";width:130px;height:130px;border-radius:50%;background:var(--bg-2);
  position:absolute}
.donut .donut-label{position:relative;z-index:1;text-align:center}
.donut .donut-label strong{display:block;font-size:1.8rem;color:var(--gold-light)}
.donut-legend{display:flex;flex-direction:column;gap:10px}
.donut-legend div{display:flex;align-items:center;gap:10px;color:var(--text)}
.donut-legend span{width:14px;height:14px;border-radius:4px}

/* STEPS / TIMELINE */
.steps{display:grid;gap:20px;grid-template-columns:repeat(4,1fr)}
.step{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:24px;position:relative}
.step-num{position:absolute;top:-18px;left:24px;width:38px;height:38px;border-radius:50%;
  background:linear-gradient(180deg,var(--gold-light),var(--gold));color:#1c1605;
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.05rem}
.step h3,.step .step-h{margin:.5em 0;color:var(--gold-light);font-size:1.05rem;font-weight:800;line-height:1.2}
@media (max-width:880px){.steps{grid-template-columns:1fr}}

/* FAQ */
.faq{display:flex;flex-direction:column;gap:10px;max-width:880px;margin:0 auto}
details.q{background:var(--surface);border:1px solid var(--border);border-radius:12px;
  padding:18px 22px}
details.q[open]{border-color:var(--gold-deep)}
details.q summary{cursor:pointer;font-weight:700;color:var(--text);font-size:1.05rem;
  display:flex;justify-content:space-between;align-items:center;list-style:none}
details.q summary::after{content:"+";color:var(--gold-light);font-size:1.4rem;font-weight:800}
details.q[open] summary::after{content:"−"}
details.q .a{margin-top:14px;color:var(--muted);line-height:1.7}
details.q .a p:last-child{margin-bottom:0}

/* AUTHOR BLOCK */
.author-block{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:28px;display:grid;grid-template-columns:120px 1fr;gap:24px;align-items:center}
.author-block img{width:120px;height:120px;border-radius:50%;border:3px solid var(--gold)}
.author-block .who{font-size:.85rem;color:var(--muted);text-transform:uppercase;
  letter-spacing:.06em;margin-bottom:6px}
.author-block .name{font-size:1.3rem;font-weight:800;color:var(--gold-light);margin-bottom:6px}
.author-block .name a{color:inherit}
.author-block p{margin:0;color:var(--muted)}
@media (max-width:680px){
  .author-block{grid-template-columns:1fr;text-align:center;justify-items:center}
}

/* CALLOUT */
.callout{background:linear-gradient(180deg,var(--emerald-soft),var(--surface));
  border:1px solid var(--gold-deep);border-radius:var(--radius);padding:22px 24px;
  margin:24px 0;color:var(--text)}
.callout strong{color:var(--gold-light)}
.callout-warn{border-color:#7a4a1f;background:linear-gradient(180deg,#2a1d0d,var(--surface))}

/* LISTS */
.check-list{list-style:none;padding:0;margin:0 0 1em}
.check-list li{position:relative;padding:6px 0 6px 32px;color:var(--text)}
.check-list li::before{content:"✓";position:absolute;left:0;top:5px;width:22px;height:22px;
  border-radius:50%;background:var(--emerald-soft);color:var(--gold-light);
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.9rem}

/* STICKY BONUS BANNER */
.sticky-bonus{position:fixed;right:22px;bottom:22px;z-index:60;width:280px;
  border-radius:18px;overflow:hidden;box-shadow:0 16px 40px rgba(0,0,0,.55);
  border:1px solid var(--gold-deep)}
.sticky-bonus img{width:100%;height:auto;display:block}
.sticky-bonus .cta{position:absolute;left:14px;right:14px;bottom:14px;
  background:linear-gradient(180deg,var(--gold-light),var(--gold));
  color:#1c1605;padding:11px 14px;border-radius:10px;font-weight:800;text-align:center;
  font-size:.95rem;box-shadow:0 6px 16px rgba(0,0,0,.45)}
.sticky-bonus .cta:hover{filter:brightness(1.08);text-decoration:none}
.sticky-bonus .close{position:absolute;top:8px;right:10px;background:rgba(0,0,0,.65);
  color:#fff;border:none;width:26px;height:26px;border-radius:50%;cursor:pointer;
  font-weight:800;font-size:.9rem;z-index:2}
.sticky-bonus.hidden{display:none}
@media (max-width:480px){
  .sticky-bonus{width:220px;right:12px;bottom:12px}
}

/* FOOTER */
.site-footer{background:#070A08;border-top:1px solid var(--border);padding:48px 0 30px;
  margin-top:30px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:38px}
.footer-brand img{width:200px;height:auto;margin-bottom:14px}
.footer-brand p{color:var(--muted);font-size:.9rem}
.footer-col h2,.footer-col .footer-h{color:var(--gold-light);font-size:.95rem;text-transform:uppercase;
  letter-spacing:.06em;margin:0 0 14px;font-weight:800}
.footer-col ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.footer-col a{color:var(--muted);font-size:.95rem}
.footer-col a:hover{color:var(--gold-light)}
.footer-bottom{border-top:1px solid var(--border);margin-top:30px;padding-top:22px;
  display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;
  color:var(--muted);font-size:.85rem}
.age-badge{display:inline-flex;align-items:center;gap:8px;background:#8b1a1d;
  color:#fff;padding:4px 10px;border-radius:999px;font-weight:800;font-size:.8rem}
@media (max-width:780px){
  .footer-grid{grid-template-columns:1fr;gap:28px}
}

/* Media area inside a card with an overlaid CTA button */
.card-media{
  position:relative;
  margin:-26px -26px 18px;
  border-radius:14px 14px 0 0;
  overflow:hidden;
  isolation:isolate;
}
.card-media img{display:block;width:100%;height:auto}
.card-media .cta-btn{
  position:absolute;right:14px;bottom:14px;z-index:2;
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(180deg,var(--gold-light),var(--gold));
  color:#1c1605;font-weight:800;
  padding:8px 16px;border-radius:8px;font-size:.85rem;
  box-shadow:0 5px 14px rgba(0,0,0,.55),0 0 0 1px rgba(212,175,55,.35);
  text-decoration:none;transition:filter .15s ease,transform .15s ease;
  white-space:nowrap;
}
.card-media .cta-btn:hover{filter:brightness(1.08);transform:translateY(-1px);text-decoration:none;color:#0d0a02}

/* CTA BANNER (in-page bonus image with overlaid clickable button) */
.cta-banner{
  position:relative;
  max-width:1100px;
  margin:0 auto;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 14px 50px rgba(0,0,0,.55);
  border:1px solid var(--gold-deep);
  background:#0A0F0C;
  isolation:isolate;
}
.cta-banner img{display:block;width:100%;height:auto}
.cta-banner .cta-btn{
  position:absolute;z-index:2;
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(180deg,var(--gold-light),var(--gold));
  color:#1c1605;font-weight:800;
  padding:clamp(8px,1vw,14px) clamp(16px,2vw,28px);
  border-radius:10px;font-size:clamp(.8rem,1.1vw,1rem);
  box-shadow:0 6px 18px rgba(0,0,0,.5),0 0 0 1px rgba(212,175,55,.4);
  transition:filter .15s ease,transform .15s ease;
  white-space:nowrap;text-decoration:none;
}
.cta-banner .cta-btn:hover{filter:brightness(1.08);transform:translateY(-1px);text-decoration:none;color:#0d0a02}
@media (max-width:600px){
  .cta-banner .cta-btn{font-size:.75rem;padding:6px 12px}
}

/* PROVIDERS GRID (logo strip) */
.providers{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.provider{background:var(--surface);border:1px solid var(--border);border-radius:10px;
  padding:14px;text-align:center;color:var(--gold-light);font-weight:700;font-size:.85rem}
@media (max-width:680px){.providers{grid-template-columns:repeat(3,1fr)}}

/* PAYMENT STRIP */
.payments{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.pay{background:var(--surface);border:1px solid var(--border);border-radius:10px;
  padding:10px 16px;color:var(--text);font-weight:700;font-size:.9rem}

/* COMPARISON / SIDE-BY-SIDE */
.compare{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.compare .col{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:24px}
.compare h3{margin-top:0}
.compare ul{list-style:none;padding:0;margin:0}
.compare li{padding:8px 0;border-bottom:1px dashed var(--border);font-size:.95rem;color:var(--text)}
.compare li:last-child{border-bottom:none}
@media (max-width:780px){.compare{grid-template-columns:1fr}}

/* PROS / CONS */
.pros-cons{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.pros,.cons{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:24px}
.pros h3{color:#27A468}
.cons h3{color:#E5484D}
.pros ul,.cons ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}
.pros li::before{content:"+ ";color:#27A468;font-weight:800}
.cons li::before{content:"− ";color:#E5484D;font-weight:800}
@media (max-width:780px){.pros-cons{grid-template-columns:1fr}}

/* DEVICE PREVIEW (mobile-app) */
.devices{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}
.device{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:26px;text-align:center}
.device img{margin:0 auto 16px;border-radius:18px;max-width:260px}
.device h3{margin-bottom:12px}
@media (max-width:780px){.devices{grid-template-columns:1fr}}

/* GAUGE (pure CSS) */
.gauge{--p:0.82;width:220px;height:110px;position:relative;margin:0 auto}
.gauge::before{
  content:"";position:absolute;inset:0;border-radius:220px 220px 0 0;
  background:conic-gradient(from -90deg,
    var(--emerald-bright) 0,
    var(--gold) calc(var(--p)*180deg),
    var(--surface-2) calc(var(--p)*180deg),
    var(--surface-2) 180deg,
    transparent 180deg);
}
.gauge::after{content:"";position:absolute;left:20px;right:20px;bottom:0;top:20px;
  background:var(--bg-2);border-radius:200px 200px 0 0}
.gauge .needle{position:absolute;bottom:0;left:50%;width:3px;height:80px;
  background:var(--gold-light);transform-origin:bottom center;
  transform:translateX(-50%) rotate(calc(var(--p)*180deg - 90deg));z-index:2}
.gauge .val{position:absolute;left:0;right:0;bottom:8px;text-align:center;
  z-index:3;color:var(--gold-light);font-weight:800;font-size:1.2rem}

/* MISC */
.kbd{display:inline-block;background:var(--surface-2);border:1px solid var(--border);
  border-radius:6px;padding:2px 8px;font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:.85em;color:var(--gold-light)}
.gold{color:var(--gold-light)}
.text-center{text-align:center}
.mt-0{margin-top:0}.mb-0{margin-bottom:0}.mt-4{margin-top:32px}
hr.div{border:0;border-top:1px solid var(--border);margin:36px 0}
