/* ============================================================
   Casino Mate AU — stylesheet
   Dark "premium green felt + gold" aesthetic
   ============================================================ */

:root {
  --bg:        #0a1410;
  --bg-2:      #0f1d18;
  --panel:     #12241d;
  --panel-2:   #16352a;
  --line:      #1f4536;
  --gold:      #e7c372;
  --gold-2:    #c79a44;
  --green:     #2fb472;
  --green-2:   #1f8d57;
  --text:      #eaf3ee;
  --muted:     #9db4a8;
  --white:     #ffffff;
  --danger:    #e8746a;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 24px 60px rgba(0,0,0,.45);
  --maxw:      1180px;
  --font-head: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(47,180,114,.10), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(231,195,114,.07), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--white); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: .6em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-bottom: .4em; color: var(--gold); }
h4 { font-size: 1.05rem; margin-bottom: .3em; }
p  { margin-bottom: 1.05em; color: var(--text); }
section p strong { color: var(--white); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .72rem;
  color: var(--green);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 15px 30px;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #2a1c05;
  box-shadow: 0 12px 30px rgba(231,195,114,.28);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(231,195,114,.42); color: #2a1c05; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #04140c;
  box-shadow: 0 12px 30px rgba(47,180,114,.28);
}
.btn-green:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(47,180,114,.42); color: #04140c; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,20,16,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--white); }
.brand-name span { color: var(--gold); }
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a {
  color: var(--muted); font-weight: 600; font-size: .92rem;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav .btn { padding: 11px 22px; }
.burger { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 60px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center;
}
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 26px; }
.chip {
  font-size: .8rem; font-weight: 700; color: var(--green);
  background: rgba(47,180,114,.1); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px;
}
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-figure {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-rating {
  position: absolute; bottom: 18px; left: 18px;
  background: rgba(10,20,16,.85); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 18px; display: flex; gap: 14px; align-items: center;
}
.hero-rating .score { font-family: var(--font-head); font-size: 1.8rem; color: var(--gold); }
.hero-rating small { color: var(--muted); display: block; }
.stars { color: var(--gold); letter-spacing: 2px; }

/* ---------- Bonus strip ---------- */
.bonus-strip {
  margin-top: 26px;
  background: linear-gradient(135deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.bonus-strip .offer { font-family: var(--font-head); font-size: 1.4rem; color: var(--white); }
.bonus-strip .offer b { color: var(--gold); }
.bonus-strip small { display: block; color: var(--muted); font-weight: 600; }

/* ---------- Generic section ---------- */
section.block { padding: 64px 0; border-top: 1px solid rgba(31,69,54,.5); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--muted); }

/* ---------- Cards grid ---------- */
.cards { display: grid; gap: 22px; }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--gold-2); }
.card .ico {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(47,180,114,.12); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px;
}
.card p { color: var(--muted); margin-bottom: 0; font-size: .96rem; }

/* ---------- Game tiles ---------- */
.game-tile {
  border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
  transition: transform .2s ease;
}
.game-tile:hover { transform: translateY(-5px); }
.game-tile img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.game-tile .meta { padding: 12px 14px; }
.game-tile .meta h4 { color: var(--white); margin-bottom: 2px; }
.game-tile .meta span { color: var(--muted); font-size: .82rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px;
}
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-head); font-size: 1.4rem; color: #04140c;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
}
.step h3 { color: var(--white); margin-bottom: 4px; }
.step p { margin-bottom: 0; color: var(--muted); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 540px; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-family: var(--font-head); color: var(--gold); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; }
tr:last-child td { border-bottom: none; }
td { color: var(--text); }

/* ---------- Pros / cons ---------- */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pc {
  border-radius: var(--radius); padding: 26px; border: 1px solid var(--line);
}
.pc.pros { background: rgba(47,180,114,.07); }
.pc.cons { background: rgba(232,116,106,.06); }
.pc h3 { color: var(--white); }
.pc ul { list-style: none; }
.pc li { padding: 8px 0 8px 30px; position: relative; color: var(--text); }
.pc.pros li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.pc.cons li::before { content: "–"; position: absolute; left: 0; color: var(--danger); font-weight: 700; }

/* ---------- Payments ---------- */
.pay-row { display: flex; flex-wrap: wrap; gap: 16px; }
.pay-row img {
  height: 52px; width: auto; background: var(--panel);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px;
}

/* ---------- FAQ ---------- */
.faq details {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 20px 24px; font-family: var(--font-head);
  font-weight: 700; font-size: 1.02rem; color: var(--white);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 24px 20px; color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  margin: 24px 0 0;
  background: linear-gradient(135deg, var(--panel-2), #0b2018);
  border: 1px solid var(--line); border-radius: 22px;
  padding: 50px 40px; text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--muted); max-width: 600px; margin: 0 auto 26px; }

/* ---------- Author box ---------- */
.author {
  display: flex; gap: 18px; align-items: center;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 26px; margin-top: 30px;
}
.author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-2); }
.author .author-name { font-family: var(--font-head); font-weight: 700; color: var(--white); margin-bottom: 2px; }
.author p { color: var(--muted); margin: 0; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); padding: 50px 0 30px; margin-top: 30px;
  background: var(--bg-2);
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-grid h4, .foot-title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--white); margin-bottom: 14px; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a { color: var(--muted); font-weight: 500; }
.foot-grid a:hover { color: var(--gold); }
.foot-brand img { height: 40px; margin-bottom: 14px; }
.foot-brand p { color: var(--muted); font-size: .92rem; max-width: 320px; }
.responsible {
  margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  color: var(--muted); font-size: .85rem;
}
.age-badge {
  font-family: var(--font-head); font-weight: 700; color: var(--white);
  border: 2px solid var(--danger); border-radius: 50%;
  width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto;
}
.copyright { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 24px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards.cols-3, .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .pc-grid, .foot-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--bg-2); padding: 20px 22px; border-bottom: 1px solid var(--line); gap: 16px;
  }
}
@media (max-width: 560px) {
  .cards.cols-3, .cards.cols-4 { grid-template-columns: 1fr; }
  .bonus-strip, .cta-band { padding: 26px 22px; }
  body { font-size: 16px; }
}
