/* Leon Casino Canada — bespoke stylesheet.
   Character: amber lion on deep brown, friendly authority, demo-first / 3-step
   onboarding for beginners. Slots-led. Not a clone of any donor or sibling site. */

:root {
  --c-amber: #d99a3d;        /* lion identity — headings accents, step numerals */
  --c-amber-deep: #b97a24;
  --c-amber-soft: #f0c988;
  --c-green: #1fad66;        /* primary CTA — sampled from donor identity */
  --c-green-deep: #169c59;
  --c-bg: #0f0b08;
  --c-bg-alt: #171009;
  --c-surface: #1f150d;
  --c-surface-2: #2a1d12;
  --c-border: rgba(217, 154, 61, 0.16);
  --c-border-strong: rgba(217, 154, 61, 0.32);
  --c-text: #f4ece0;
  --c-text-dim: #b8a892;
  --c-white: #fffaf3;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-amber-soft); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; background: var(--c-green);
  color: #0a0a08; font-weight: 700; padding: 10px 16px; border-radius: var(--radius-s);
  z-index: 200; transition: top .15s ease;
}
.skip-link:focus { top: 8px; }

.shell { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(15, 11, 8, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.brand img { height: 22px; width: auto; }

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a {
  color: var(--c-text-dim); font-weight: 600; font-size: .92rem;
  padding: 9px 13px; border-radius: var(--radius-s);
}
.nav-desktop a:hover, .nav-desktop a:focus-visible { color: var(--c-white); background: var(--c-surface-2); text-decoration: none; }
.nav-desktop a.active { color: var(--c-amber-soft); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-s); font-weight: 700; font-size: .9rem;
  padding: 10px 17px; border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-green); color: #06170f; }
.btn-primary:hover { background: var(--c-green-deep); }
.btn-outline { background: transparent; color: var(--c-amber-soft); border-color: var(--c-border-strong); }
.btn-outline:hover { border-color: var(--c-amber); color: var(--c-white); }
.btn-ghost { background: transparent; color: var(--c-text-dim); border-color: var(--c-border); }
.btn-ghost:hover { color: var(--c-white); border-color: var(--c-text-dim); }
.btn-block { width: 100%; }

.burger {
  display: none; width: 40px; height: 40px; border: 1px solid var(--c-border);
  border-radius: var(--radius-s); background: var(--c-surface); position: relative;
}
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 9px; right: 9px; height: 2px; background: var(--c-white);
  transition: transform .2s ease, opacity .2s ease;
}
.burger::before { top: 13px; }
.burger span { top: 19px; }
.burger::after { top: 25px; }
.burger[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }
.burger[aria-expanded="true"] span { opacity: 0; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 90;
  background: var(--c-bg-alt);
  transform: translateX(100%);
  transition: transform .22s ease;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .shell { padding-top: 22px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav a {
  color: var(--c-text); font-weight: 700; font-size: 1.05rem; padding: 14px 4px;
  border-bottom: 1px solid var(--c-border);
}
.mobile-nav .mobile-cta { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--c-border);
  background:
    radial-gradient(720px 420px at 88% -10%, rgba(217,154,61,.16), transparent 60%),
    linear-gradient(180deg, #120c07, var(--c-bg));
}
.hero-inner { padding: 52px 0 40px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--c-surface); border: 1px solid var(--c-border-strong); color: var(--c-amber-soft);
  font-weight: 800; font-size: .74rem; letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-amber); }
.hero-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 900; color: var(--c-white);
  margin: 0 0 12px; letter-spacing: -.01em; max-width: 18ch; line-height: 1.15;
}
.hero-title em { font-style: normal; color: var(--c-amber); }
.hero-sub { color: var(--c-text-dim); max-width: 56ch; margin: 0 0 26px; font-size: 1.02rem; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

/* 3-step onboarding path */
.step-path {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative;
}
.step-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-m);
  padding: 20px 18px; position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(140deg, var(--c-amber), var(--c-amber-deep));
  color: #241608; font-weight: 900; font-size: 1rem; margin-bottom: 12px;
}
.step-title { font-weight: 800; color: var(--c-white); font-size: 1rem; margin: 0 0 6px; }
.step-desc { color: var(--c-text-dim); font-size: .88rem; margin: 0; }

/* ===== Fact strip ===== */
.fact-strip { background: var(--c-bg-alt); border-bottom: 1px solid var(--c-border); }
.fact-strip .shell {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 22px 20px;
}
.fact-item { text-align: center; }
.fact-num { display: block; font-weight: 900; font-size: 1.3rem; color: var(--c-amber-soft); }
.fact-label { display: block; font-size: .76rem; color: var(--c-text-dim); margin-top: 2px; }

/* ===== Section shell ===== */
.section { padding: 46px 0; border-bottom: 1px solid var(--c-border); }
.section-head { max-width: 62ch; margin-bottom: 26px; }
.section-eyebrow {
  display: block; color: var(--c-amber); font-weight: 800; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px;
}
.section-title { font-size: 1.35rem; font-weight: 900; color: var(--c-white); margin: 0 0 8px; }
.section-lede { color: var(--c-text-dim); font-size: .95rem; margin: 0; }

/* Lobby category grid */
.lobby-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lobby-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-m);
  padding: 18px; transition: border-color .15s ease, transform .15s ease;
}
.lobby-card:hover { border-color: var(--c-border-strong); transform: translateY(-2px); }
.lobby-icon {
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-surface-2); color: var(--c-amber);
}
.lobby-icon svg { width: 20px; height: 20px; }
.lobby-name { font-weight: 800; color: var(--c-white); font-size: .96rem; margin: 0 0 4px; }
.lobby-desc { color: var(--c-text-dim); font-size: .84rem; margin: 0; }

/* Leon Originals shelf */
.origin-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.origin-card {
  flex: 0 0 168px; border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--c-border);
  background: var(--c-surface);
}
.origin-art {
  height: 120px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, var(--c-surface-2), #120c07 70%);
  position: relative;
}
.origin-art::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120px 90px at 30% 20%, rgba(217,154,61,.28), transparent 70%);
}
.origin-art img { width: 44px; height: 42px; position: relative; z-index: 1; filter: sepia(1) saturate(2.4) hue-rotate(-6deg) brightness(1.15); }
.origin-name { padding: 10px 12px 12px; font-weight: 700; color: var(--c-white); font-size: .86rem; margin: 0; }
.origin-tag { display: block; padding: 0 12px 12px; color: var(--c-amber-soft); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: -6px; }

/* Provider strip */
.provider-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.provider-chip {
  flex: 0 0 auto; background: #f4ece0; border-radius: var(--radius-s);
  padding: 10px 16px; display: flex; align-items: center; justify-content: center;
}
.provider-chip img { height: 22px; width: auto; }

/* ===== Trust bar ===== */
.trust-bar { background: var(--c-bg-alt); border-bottom: 1px solid var(--c-border); padding: 20px 0; }
.trust-bar .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.trust-badges { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.trust-badges img { height: 38px; width: auto; }
.trust-note { color: var(--c-text-dim); font-size: .8rem; max-width: 46ch; }
.pay-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pay-row img { height: 18px; width: auto; opacity: .9; }

/* ===== Internal page top band ===== */
.page-band {
  background: linear-gradient(180deg, var(--c-bg-alt), var(--c-bg));
  border-bottom: 1px solid var(--c-border);
  padding: 30px 0 26px;
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--c-text-dim); margin-bottom: 12px; list-style: none; padding: 0; }
.breadcrumb a { color: var(--c-text-dim); }
.breadcrumb a:hover { color: var(--c-white); }
.breadcrumb .sep { color: var(--c-border-strong); }
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; color: var(--c-amber);
  font-weight: 800; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px;
}
.page-lede { color: var(--c-text-dim); max-width: 60ch; font-size: .98rem; }

/* ===== Article / SEO block — the ONLY place with h1/h2/h3 ===== */
.article-wrap { padding: 40px 0 60px; }
.article {
  max-width: 760px; margin: 0 auto; background: var(--c-surface);
  border: 1px solid var(--c-border); border-radius: var(--radius-l);
  padding: clamp(20px, 4vw, 44px);
}
.article h1 {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; color: var(--c-white); line-height: 1.25;
  margin: 0 0 20px; letter-spacing: -.01em;
}
.article h2 {
  font-size: 1.22rem; font-weight: 800; color: var(--c-white); margin: 34px 0 12px;
  padding-top: 18px; border-top: 1px solid var(--c-border);
}
.article h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 8px; }
.article h3 {
  font-size: 1rem; font-weight: 700; color: var(--c-white); margin: 0; cursor: pointer;
  padding: 14px 34px 14px 4px; position: relative; border-top: 1px solid var(--c-border);
}
.article h3:first-of-type { border-top: 1px solid var(--c-border); }
.article h3::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--c-amber); font-size: 1.2rem; font-weight: 800; line-height: 1;
}
.article h3[aria-expanded="true"]::after { content: "\2212"; }
.article h3 + p { margin-top: 0; padding-bottom: 14px; }
.article p { color: var(--c-text-dim); margin: 0 0 16px; }
.article ul, .article ol { color: var(--c-text-dim); margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-bottom: 6px; }
.article a { color: var(--c-amber-soft); font-weight: 600; }
.article strong { color: var(--c-white); }

/* Responsive tables inside the article */
.article .table-scroll { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--c-border); border-radius: var(--radius-s); }
.article table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 440px; }
.article th, .article td {
  border-bottom: 1px solid var(--c-border); padding: 10px 12px; text-align: left;
  font-size: .9rem; color: var(--c-text-dim); overflow-wrap: anywhere;
}
.article th { color: var(--c-white); font-weight: 800; background: var(--c-surface-2); font-variant-numeric: normal; }
.article td { font-variant-numeric: tabular-nums; }
.article tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  .article th, .article td { padding: 7px 8px; font-size: .78rem; }
}

/* ===== Blog listing ===== */
.blog-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.blog-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-m);
  transition: border-color .15s ease;
}
.blog-card:hover { border-color: var(--c-border-strong); }
.blog-card-link { display: flex; flex-direction: column; padding: 22px; color: inherit; text-decoration: none; height: 100%; }
.blog-card-link:hover { text-decoration: none; }
.blog-card-tag {
  font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-amber);
  font-weight: 800; margin-bottom: 8px;
}
.blog-card-date { font-size: .78rem; color: var(--c-text-dim); margin-bottom: 8px; }
.blog-card-title { font-size: 1.1rem; font-weight: 800; color: var(--c-white); margin: 0 0 8px; line-height: 1.32; }
.blog-card-excerpt { font-size: .9rem; color: var(--c-text-dim); line-height: 1.55; margin: 0 0 12px; flex-grow: 1; }
.blog-card-more { font-size: .85rem; font-weight: 700; color: var(--c-green); }
@media (max-width: 720px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.site-footer { background: #0a0705; border-top: 1px solid var(--c-border); padding: 40px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 26px; }
.footer-brand .brand { margin-bottom: 10px; }
.footer-brand p { color: var(--c-text-dim); font-size: .85rem; max-width: 44ch; }
.footer-col .footer-heading { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-dim); margin: 0 0 12px; font-weight: 800; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: var(--c-text-dim); font-size: .88rem; }
.footer-col a:hover { color: var(--c-white); }
.footer-pay { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 18px 0; }
.footer-pay img { height: 18px; width: auto; opacity: .85; }
.footer-license { display: flex; gap: 12px; align-items: center; margin: 6px 0 18px; flex-wrap: wrap; }
.footer-license img { height: 30px; width: auto; opacity: .9; }
.footer-legal {
  border-top: 1px solid var(--c-border); padding-top: 18px; color: var(--c-text-dim); font-size: .78rem;
  display: flex; flex-direction: column; gap: 6px;
}
.rg-line { color: var(--c-text-dim); }
.rg-line strong { color: var(--c-amber-soft); }

/* ===== 404 page ===== */
.error-wrap { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 60px 20px; text-align: center; }
.error-wrap .code { font-size: 5rem; font-weight: 900; color: var(--c-amber); line-height: 1; margin-bottom: 6px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .lobby-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-desktop, .header-actions .btn-outline, .header-actions .btn-primary { display: none; }
  .burger { display: block; }
}
@media (max-width: 720px) {
  .step-path { grid-template-columns: 1fr; }
  .fact-strip .shell { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .lobby-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .shell { padding: 0 14px; }
}
