/* ===================================================================
   Syndicate Casino — Australia
   Stylesheet (style.css)
   Dark, gold-accented "members club" theme
   =================================================================== */

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

:root {
  --bg:        #0c0f1c;
  --bg-2:      #0f1324;
  --panel:     #161b30;
  --panel-2:   #1d2340;
  --border:    #2a3157;
  --gold:      #d4a853;
  --gold-soft: #e8c987;
  --gold-deep: #b88a3a;
  --red:       #c1313d;
  --green:     #2ecc71;
  --text:      #e6e9f5;
  --text-dim:  #a3aacb;
  --text-mute: #6f769b;
  --radius:    14px;
  --radius-sm: 9px;
  --maxw:      1180px;
  --shadow:    0 18px 50px rgba(0,0,0,.45);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(212,168,83,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(96,73,165,.14), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

/* ----------------------------- Buttons ---------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .3px;
  padding: 15px 34px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  text-transform: uppercase;
}
.btn-primary {
  color: #1a1304;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 10px 30px rgba(212,168,83,.35);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.06); color:#1a1304; }
.btn-ghost {
  color: var(--gold-soft);
  background: transparent;
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { font-size: 1.1rem; padding: 18px 46px; }

/* ----------------------------- Header ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,15,28,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-dim);
  letter-spacing: .4px;
}
.nav a:hover { color: var(--gold); }
.header-cta { padding: 11px 26px; font-size: .9rem; }
.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.burger span { width: 26px; height: 2.5px; background: var(--gold); border-radius: 2px; }
.nav-toggle { display: none; }

/* ------------------------- Breadcrumbs ---------------------------- */
.crumbs { font-size: .85rem; color: var(--text-mute); padding: 18px 0 0; }
.crumbs a { color: var(--text-dim); }
.crumbs span { color: var(--gold); }

/* ----------------------------- Hero ------------------------------- */
.hero { padding: 40px 0 30px; }
.hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -.5px;
  margin-bottom: 26px;
  background: linear-gradient(120deg, #fff 30%, var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  aspect-ratio: 1200 / 480;
  object-fit: cover;
}
.lead p { font-size: 1.08rem; color: var(--text-dim); margin-bottom: 18px; }
.lead strong { color: var(--text); }
.hero-bonus {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
  margin: 30px 0 10px;
  padding: 22px 26px;
  background: linear-gradient(135deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.hero-bonus .flame {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--gold);
}

/* --------------------------- TOC ---------------------------------- */
.toc {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin: 36px 0;
}
.toc h3 {
  font-family: var(--font-head);
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: .5px;
}
.toc ol { list-style: none; columns: 2; column-gap: 40px; }
.toc li { margin-bottom: 9px; break-inside: avoid; }
.toc a { color: var(--text-dim); font-size: .95rem; }
.toc a::before { content: "▸ "; color: var(--gold); }
.toc a:hover { color: var(--gold); }

/* ------------------------- Article sections ----------------------- */
.section { padding: 30px 0; scroll-margin-top: 90px; }
.section h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 18px;
  position: relative;
  padding-left: 18px;
}
.section h2::before {
  content: "";
  position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 5px; border-radius: 4px;
  background: linear-gradient(var(--gold-soft), var(--gold-deep));
}
.section h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--gold-soft);
  margin: 24px 0 12px;
}
.section p { color: var(--text-dim); margin-bottom: 16px; }
.section p strong, .section li strong { color: var(--text); }

/* ----------------------------- Tables ----------------------------- */
.table-wrap { overflow-x: auto; margin: 22px 0; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; min-width: 460px; background: var(--panel); }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: .96rem; }
th {
  font-family: var(--font-head);
  background: var(--panel-2);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .3px;
}
td { color: var(--text-dim); }
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(212,168,83,.05); }

/* ---------------------------- Pros/Cons --------------------------- */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 22px 0; }
.pc-card { border-radius: var(--radius); padding: 24px 26px; border: 1px solid var(--border); }
.pc-card.pros { background: linear-gradient(160deg, rgba(46,204,113,.10), var(--panel)); }
.pc-card.cons { background: linear-gradient(160deg, rgba(193,49,61,.10), var(--panel)); }
.pc-card h3 { margin-top: 0; }
.pc-card.pros h3 { color: var(--green); }
.pc-card.cons h3 { color: #e57373; }
.pc-card ul { list-style: none; }
.pc-card li { padding: 8px 0 8px 30px; position: relative; color: var(--text-dim); }
.pc-card.pros li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.pc-card.cons li::before { content: "✕"; position: absolute; left: 0; color: #e57373; font-weight: 700; }

/* ----------------------------- Promo list ------------------------- */
.promo-list { list-style: none; margin: 16px 0; }
.promo-list li {
  padding: 14px 18px 14px 46px;
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  color: var(--text-dim);
}
.promo-list li::before {
  content: "★"; position: absolute; left: 16px; top: 13px; color: var(--gold);
}

/* ----------------------------- Games ------------------------------ */
.tab-input { display: none; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.tab-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-dim);
  cursor: pointer;
  transition: all .18s ease;
  user-select: none;
}
.tab-btn:hover { border-color: var(--gold); color: var(--gold); }
#tab-popular:checked ~ .tabs label[for="tab-popular"],
#tab-live:checked    ~ .tabs label[for="tab-live"],
#tab-crash:checked   ~ .tabs label[for="tab-crash"],
#tab-slot:checked    ~ .tabs label[for="tab-slot"] {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  color: #1a1304;
  border-color: transparent;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.games-panel { display: none; }
#tab-popular:checked ~ #popular,
#tab-live:checked    ~ #live,
#tab-crash:checked   ~ #crash,
#tab-slot:checked    ~ #slot { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.game-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.game-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 14px 30px rgba(0,0,0,.5); }
.game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.game-meta { padding: 10px 12px; }
.game-meta .name { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--text); }
.game-meta .prov { font-size: .78rem; color: var(--text-mute); }

/* ----------------------------- FAQ -------------------------------- */
.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-toggle { display: none; }
.faq-q {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.faq-q::after { content: "+"; color: var(--gold); font-size: 1.5rem; transition: transform .2s ease; }
.faq-toggle:checked + .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 22px; color: var(--text-dim); }
.faq-toggle:checked ~ .faq-a { max-height: 320px; padding: 0 22px 20px; }

/* ----------------------------- CTA banner ------------------------- */
.cta-banner {
  margin: 50px 0;
  text-align: center;
  padding: 48px 30px;
  border-radius: var(--radius);
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(212,168,83,.18), transparent),
    linear-gradient(135deg, var(--panel-2), var(--panel));
  border: 1px solid var(--gold-deep);
}
.cta-banner h2 { font-family: var(--font-head); font-size: clamp(1.6rem,3vw,2.4rem); margin-bottom: 14px; padding: 0; }
.cta-banner h2::before { display: none; }
.cta-banner p { color: var(--text-dim); max-width: 560px; margin: 0 auto 26px; }

.updated { color: var(--text-mute); font-size: .9rem; margin: 30px 0; text-align: center; }

/* ----------------------------- Footer ----------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 46px 0 30px;
  margin-top: 40px;
}
.footer-top { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.footer-badges { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer-badges img { height: 40px; opacity: .8; transition: opacity .2s; }
.footer-badges a:hover img { opacity: 1; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 60px; margin-bottom: 30px; }
.footer-cols ul { list-style: none; }
.footer-cols li { margin-bottom: 10px; }
.footer-cols a { color: var(--text-dim); font-size: .92rem; }
.footer-legal { color: var(--text-mute); font-size: .85rem; border-top: 1px solid var(--border); padding-top: 22px; line-height: 1.6; }
.footer-legal a { color: var(--text-dim); }

/* ----------------------------- Responsive ------------------------- */
@media (max-width: 820px) {
  .nav {
    display: none;
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 10px 20px;
  }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border-bottom: none; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .burger { display: flex; }
  .proscons { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
}
@media (max-width: 520px) {
  .header-cta { display: none; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-bonus { flex-direction: column; align-items: stretch; text-align: center; }
}
