/* =====================================================================
   Lucky Mate Casino — lucky-mate-casino-aus.com
   Stylesheet (separated from HTML)
   ===================================================================== */

:root {
  --bg:        #0f1116;
  --bg-2:      #14171f;
  --bg-3:      #181c26;
  --card:      #1b1f2a;
  --card-2:    #20252f;
  --gold:      #d4af37;
  --gold-2:    #f5d76e;
  --gold-soft: rgba(212, 175, 55, .14);
  --green:     #2fa56b;
  --green-2:   #5cc98a;
  --text:      #e8ecf3;
  --muted:     #9aa3b2;
  --line:      rgba(212, 175, 55, .18);
  --line-soft: rgba(255, 255, 255, .07);
  --shadow:    0 18px 50px rgba(0, 0, 0, .45);
  --radius:    16px;
  --maxw:      1180px;
  --serif:     "Marcellus", Georgia, "Times New Roman", serif;
  --sans:      "Manrope", system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(212,175,55,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(47,165,107,.10), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: .3px;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 13px 28px;
  font-size: 15px;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-gold {
  color: #1a1405;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 26px rgba(212,175,55,.35);
}
.btn-gold:hover { filter: brightness(1.06); box-shadow: 0 14px 32px rgba(212,175,55,.45); }

.btn-ghost {
  color: var(--gold-2);
  background: transparent;
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: var(--gold-soft); }

.btn-lg { padding: 16px 40px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 17, 22, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  height: 76px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }

.main-nav { margin-left: 26px; display: flex; gap: 26px; }
.main-nav a {
  color: var(--muted); font-weight: 600; font-size: 15px;
  letter-spacing: .2px; padding: 6px 0; position: relative;
}
.main-nav a:hover { color: var(--text); text-decoration: none; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-2), var(--gold)); transition: width .22s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { margin-left: auto; display: flex; gap: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: 26px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero img.hero-bg { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1200 / 460; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,12,16,.88) 0%, rgba(10,12,16,.55) 45%, rgba(10,12,16,.15) 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(24px, 5vw, 70px);
}
.hero-kicker {
  font-family: var(--sans); font-weight: 800; letter-spacing: 3px;
  font-size: 13px; color: var(--green-2); text-transform: uppercase; margin: 0 0 12px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 5vw, 54px); line-height: 1.08; margin: 0 0 10px;
  color: var(--text);
}
.hero h1 span { color: var(--gold-2); }
.hero p.hero-sub { max-width: 520px; color: var(--muted); margin: 0 0 26px; font-size: 17px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Section scaffolding ---------- */
section { padding: 56px 0; }
.section-head { margin-bottom: 30px; }
.section-head .eyebrow {
  display: inline-block; font-weight: 800; font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
h2.section-title {
  font-family: var(--serif); font-weight: 400; line-height: 1.12;
  font-size: clamp(26px, 3.6vw, 40px); margin: 0; color: var(--text);
}

/* ---------- Best games grid ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.game-card {
  position: relative; border-radius: 14px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.game-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--shadow); }
.game-card img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.game-card .game-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end; gap: 14px;
  padding-bottom: 22px;
  background: linear-gradient(180deg, transparent 40%, rgba(10,11,15,.85));
  opacity: 0; transition: opacity .22s ease;
}
.game-card:hover .game-overlay { opacity: 1; }
.game-card .game-name {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px; font-weight: 700; font-size: 15px;
  background: linear-gradient(180deg, transparent, rgba(10,11,15,.92));
}
.game-card:hover .game-name { opacity: 0; }

/* ---------- Article / prose ---------- */
.article { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.prose { max-width: 920px; margin: 0 auto; }
.prose h2 {
  font-family: var(--serif); font-weight: 400; color: var(--text);
  font-size: clamp(25px, 3.4vw, 36px); line-height: 1.15;
  margin: 52px 0 14px; padding-top: 8px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--sans); font-weight: 800; color: var(--gold-2);
  font-size: 20px; margin: 34px 0 10px; letter-spacing: .2px;
}
.prose p { margin: 0 0 18px; color: #d3d9e3; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; color: #d3d9e3; }
.prose li { margin: 7px 0; }
.prose li::marker { color: var(--gold); }

.lead {
  font-size: 20px; line-height: 1.7; color: #e6eaf2;
  border-left: 3px solid var(--gold); padding-left: 20px; margin: 0 0 30px;
}

.figure {
  margin: 30px 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 24px 0 30px; border-radius: 14px; border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; min-width: 520px; background: var(--card); }
table.data th, table.data td { padding: 14px 18px; text-align: left; font-size: 15px; }
table.data thead th {
  background: linear-gradient(180deg, rgba(212,175,55,.16), rgba(212,175,55,.06));
  color: var(--gold-2); font-weight: 800; letter-spacing: .4px;
  border-bottom: 1px solid var(--line);
}
table.data tbody tr { border-top: 1px solid var(--line-soft); }
table.data tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }
table.data td { color: #cfd6e1; }

/* ---------- Pros / cons ---------- */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0; }
.pc-box { border-radius: 14px; padding: 22px 24px; border: 1px solid var(--line-soft); background: var(--card); }
.pc-box h4 { margin: 0 0 12px; font-size: 16px; letter-spacing: .4px; }
.pc-box.pros h4 { color: var(--green-2); }
.pc-box.cons h4 { color: #e8a06a; }
.pc-box ul { list-style: none; padding: 0; margin: 0; }
.pc-box li { padding-left: 26px; position: relative; margin: 9px 0; color: #cfd6e1; font-size: 15px; }
.pc-box.pros li::before { content: "✦"; position: absolute; left: 0; color: var(--green-2); }
.pc-box.cons li::before { content: "•"; position: absolute; left: 4px; color: #e8a06a; font-size: 20px; line-height: 1; }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 28px 0; }
.feature { background: var(--card); border: 1px solid var(--line-soft); border-radius: 14px; padding: 22px; }
.feature .ico { font-size: 26px; }
.feature h4 { margin: 12px 0 6px; font-size: 16px; color: var(--gold-2); }
.feature p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: 12px; margin-bottom: 12px; overflow: hidden;
}
.faq details[open] { border-color: var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-weight: 700; font-size: 16.5px; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 24px; font-weight: 700; transition: transform .2s ease; }
.faq details[open] summary::after { content: "−"; }
.faq .faq-body { padding: 0 22px 20px; color: #cfd6e1; }
.faq .faq-body p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  margin: 18px auto; max-width: 920px;
  background: linear-gradient(120deg, rgba(212,175,55,.14), rgba(47,165,107,.12));
  border: 1px solid var(--line); border-radius: 20px;
  padding: 40px clamp(24px, 5vw, 56px); text-align: center;
}
.cta-band h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 10px; }
.cta-band p { color: var(--muted); margin: 0 0 24px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); background: var(--bg-3); padding: 46px 0 30px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.footer-brand img { height: 44px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); max-width: 360px; font-size: 14px; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-links a { color: var(--muted); font-size: 14.5px; font-weight: 600; }
.footer-links a:hover { color: var(--gold-2); text-decoration: none; }
.footer-note {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  color: #79808d; font-size: 13px; line-height: 1.6;
}
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid #e8a06a;
  color: #e8a06a; font-weight: 800; font-size: 13px; margin-right: 10px; vertical-align: middle;
}

/* ---------- Reveal animation (only hides when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .proscons { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
@media (max-width: 560px) {
  .header-actions .btn { padding: 10px 16px; font-size: 13px; }
  .brand img { height: 38px; }
  section { padding: 40px 0; }
  .hero-overlay { background: linear-gradient(180deg, rgba(10,12,16,.5), rgba(10,12,16,.92)); }
}
