/* ==========================================================================
   Gaming Club Casino — Canada
   Theme: "Members' Club" — brushed gold on charcoal, heritage serif display
   ========================================================================== */

:root {
  --ink:        #0E0F14;
  --ink-2:      #11131A;
  --panel:      #1A1D27;
  --panel-2:    #20232F;
  --line:       #2C3040;
  --gold:       #C9A24B;
  --gold-bright:#E7C66B;
  --gold-deep:  #9C7A2E;
  --cream:      #F4EFE3;
  --muted:      #9A9686;
  --green:      #3FA37A;
  --green-deep: #1F6F5C;
  --shadow:     0 18px 48px rgba(0,0,0,.45);
  --radius:     14px;
  --radius-sm:  10px;
  --maxw:       1160px;
  --display:    "Playfair Display", Georgia, "Times New Roman", serif;
  --body:       "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(201,162,75,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(63,163,122,.06), transparent 55%),
    var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; border-radius: var(--radius-sm); }

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

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

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--cream); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: .2px; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.18rem, 2.1vw, 1.5rem); color: var(--gold-bright); }
p { margin: 0 0 1.1em; }
.lead { font-size: 1.16rem; color: #E8E2D4; }
.eyebrow {
  font-family: var(--body);
  font-size: .78rem; font-weight: 700; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--gold); margin: 0 0 .9rem; display: inline-block;
}
.gold { color: var(--gold-bright); }
.section-head { max-width: 760px; margin-bottom: 2.2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--body); font-weight: 700; font-size: .98rem; letter-spacing: .3px;
  border: 0; cursor: pointer; border-radius: 999px;
  padding: .92rem 1.7rem; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; }
.btn-primary {
  color: #20180A;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 10px 26px rgba(201,162,75,.34);
}
.btn-primary:hover { transform: translateY(-2px); color: #20180A; box-shadow: 0 16px 34px rgba(201,162,75,.46); }
.btn-ghost {
  color: var(--cream); background: transparent; border: 1.5px solid var(--line);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--cream); }
.btn-lg { padding: 1.08rem 2.2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,15,20,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; border-radius: 0; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--cream); font-size: .95rem; font-weight: 600; }
.nav a:hover { color: var(--gold-bright); }
.header-cta { display: flex; align-items: center; gap: .8rem; }
.nav-toggle { display: none; background: transparent; border: 1.5px solid var(--line); color: var(--cream);
  border-radius: 10px; padding: .5rem .7rem; cursor: pointer; font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero { padding: 4.4rem 0 3rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero h1 span { color: var(--gold-bright); display: block; }
.hero .lead { margin-bottom: 1.6rem; max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.5rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.2rem; color: var(--muted); font-size: .86rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust b { color: var(--cream); font-weight: 700; }
.hero-media { position: relative; }
.hero-media::before {
  content: ""; position: absolute; inset: -14px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(231,198,107,.4), transparent 60%);
  filter: blur(8px); opacity: .5; z-index: 0;
}
.hero-media img { position: relative; z-index: 1; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- Stat bar ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(26,29,39,.5); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.6rem 1.2rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--display); font-size: 1.9rem; color: var(--gold-bright); line-height: 1; }
.stat .lab { font-size: .82rem; color: var(--muted); letter-spacing: .4px; margin-top: .45rem; }

/* ---------- Sections ---------- */
section { padding: 4.2rem 0; }
section:nth-of-type(even) { background: rgba(26,29,39,.32); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: center; }
.split.reverse .split-media { order: 2; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.4rem; }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem;
  transition: transform .18s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); }
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; color: #DAD5C7; }
.card .tag { display: inline-block; font-size: .72rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--line); border-radius: 999px; padding: .25rem .7rem; margin-bottom: .9rem; }

/* ---------- Bonus table ---------- */
.table-scroll {
  margin: 1.4rem 0 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;   /* momentum scroll on iOS */
  overscroll-behavior-x: contain;
  border-radius: var(--radius-sm);
  /* right-edge shadow hint that there is more to scroll */
  background:
    linear-gradient(to right, var(--ink) 30%, rgba(14,15,20,0)) left center / 28px 100% no-repeat,
    linear-gradient(to left, var(--ink) 30%, rgba(14,15,20,0)) right center / 28px 100% no-repeat,
    radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.45), rgba(0,0,0,0)) left center / 14px 100% no-repeat,
    radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.45), rgba(0,0,0,0)) right center / 14px 100% no-repeat;
  background-attachment: local, local, scroll, scroll;
}
.table-scroll:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; }
/* slim themed scrollbar */
.table-scroll { scrollbar-width: thin; scrollbar-color: var(--gold) var(--panel); }
.table-scroll::-webkit-scrollbar { height: 8px; }
.table-scroll::-webkit-scrollbar-track { background: var(--panel); border-radius: 999px; }
.table-scroll::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 999px; }
.table-scroll::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.btable { width: 100%; border-collapse: collapse; margin: 0; font-size: .98rem; }
.btable th, .btable td { text-align: left; padding: .95rem 1rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.btable thead th { color: var(--gold); font-family: var(--body); font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; }
.btable tbody tr:hover { background: rgba(201,162,75,.05); }
.btable td b { color: var(--cream); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 1.1rem; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 1.1rem; align-items: start;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem;
}
.step::before {
  counter-increment: step; content: counter(step,decimal-leading-zero);
  font-family: var(--display); font-size: 1.5rem; color: var(--gold-bright);
  width: 56px; height: 56px; display: grid; place-items: center;
  border: 1.5px solid var(--gold); border-radius: 50%;
}
.step h3 { margin: .1rem 0 .3rem; }
.step p { margin: 0; color: #DAD5C7; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.checklist li { padding-left: 1.9rem; position: relative; color: #DAD5C7; }
.checklist li::before {
  content: "✦"; position: absolute; left: 0; top: 0; color: var(--gold-bright);
}
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.6rem; }
.proscons .box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.proscons .box.pros { border-top: 3px solid var(--green); }
.proscons .box.cons { border-top: 3px solid #C46B5A; }
.proscons h3 { color: var(--cream); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 50% -40%, rgba(231,198,107,.18), transparent 70%),
    linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--gold-deep); border-radius: 20px; padding: 3rem 2rem; text-align: center;
}
.cta-band h2 { margin-bottom: .4rem; }
.cta-band p { color: #DAD5C7; max-width: 60ch; margin: 0 auto 1.6rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .9rem; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  color: var(--cream); font-family: var(--display); font-size: 1.12rem; font-weight: 700;
  padding: 1.2rem 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: -3px; }
.faq-q .ic { color: var(--gold-bright); font-size: 1.5rem; transition: transform .25s ease; flex: none; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a .faq-a-inner { padding: 0 1.4rem 1.3rem; color: #DAD5C7; }
.faq-item.open .faq-a { max-height: 520px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-2); padding: 3rem 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid img { height: 50px; width: auto; border-radius: 0; margin-bottom: 1rem; }
.foot-title { color: var(--gold); font-family: var(--body); font-size: .82rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-links a { color: #CFCABB; font-size: .94rem; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-note { color: var(--muted); font-size: .9rem; max-width: 46ch; }
.age-badge { display: inline-flex; align-items: center; gap: .5rem; border: 1.5px solid var(--gold); color: var(--gold-bright);
  border-radius: 999px; padding: .3rem .8rem; font-weight: 700; font-size: .85rem; margin-bottom: 1rem; }
.legal { border-top: 1px solid var(--line); margin-top: 2.4rem; padding-top: 1.4rem; color: var(--muted); font-size: .82rem; }
.legal p { margin: 0 0 .6rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split, .footer-grid, .proscons { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .cards.cols-3, .cards.cols-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
    position: absolute; top: 76px; left: 0; right: 0; background: var(--ink-2);
    border-bottom: 1px solid var(--line); padding: 1.2rem 22px;
  }
  .nav-toggle { display: inline-block; }
  .hero-media { order: -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .header-cta .btn-ghost { display: none; }
  section { padding: 3rem 0; }
  .btable { min-width: 540px; }   /* keeps columns intact; wrapper scrolls horizontally */
  .table-scroll { padding-bottom: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
