/* ============================================================
   150CasinoPicks.com — Shared Design System
   Canada's Most Genuine Casino Reviews
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --red:      #C8102E;
  --red-dark: #9B0D22;
  --gold:     #B8960C;
  --gold-lt:  #F5E97A;
  --cream:    #FAFAF7;
  --white:    #FFFFFF;
  --ink:      #1A1A1A;
  --ink-mid:  #3D3D3D;
  --ink-mute: #6B6B6B;
  --border:   #E5E5E0;
  --border-dk:#C8C8C0;
  --surface:  #F3F3EE;
  --green:    #1A7A4A;
  --green-lt: #E8F5EE;
  --badge-on: #D4380D;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);

  --nav-h: 64px;
  --max-w: 1120px;
  --content-w: 860px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Age / Responsible Bar ── */
.age-bar {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  font-size: .75rem;
  text-align: center;
  padding: .45rem 1rem;
  letter-spacing: .02em;
}
.age-bar a { color: rgba(255,255,255,.85); text-decoration: underline; }

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: .15rem;
}
.nav-logo span { color: var(--red); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-mid);
  letter-spacing: .01em;
}
.nav-links a:hover { color: var(--red); text-decoration: none; }
.nav-links .lang-toggle {
  background: var(--surface);
  border: 1px solid var(--border-dk);
  border-radius: 20px;
  padding: .25rem .75rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-mid);
  cursor: pointer;
  letter-spacing: .04em;
}
.nav-links .lang-toggle:hover { background: var(--red); color: var(--white); border-color: var(--red); text-decoration: none; }

/* ── Page Hero ── */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,16,46,.35) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: .75rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  position: relative;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

/* ── Breadcrumb ── */
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: .75rem 1.5rem;
  font-size: .8rem;
  color: var(--ink-mute);
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { opacity: .4; }

/* ── Scout Author Byline ── */
.byline {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.byline-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
}
.byline-meta { line-height: 1.3; }
.byline-name { font-weight: 600; font-size: .9rem; }
.byline-name a { color: var(--ink); }
.byline-name a:hover { color: var(--red); }
.byline-detail { font-size: .78rem; color: var(--ink-mute); }

/* ── Article Body ── */
.article-body {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 2.5rem 0 .75rem;
  color: var(--ink);
  line-height: 1.25;
}
.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.75rem 0 .5rem;
  color: var(--ink);
}
.article-body p { margin-bottom: 1.25rem; font-size: 1rem; color: var(--ink-mid); }
.article-body ul, .article-body ol {
  margin: 0 0 1.25rem 1.25rem;
  color: var(--ink-mid);
}
.article-body li { margin-bottom: .4rem; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body a { color: var(--red); font-weight: 500; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: .9rem;
}
.article-body th {
  background: var(--ink);
  color: var(--white);
  padding: .65rem 1rem;
  text-align: left;
  font-weight: 600;
}
.article-body td {
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--ink-mid);
}
.article-body tr:nth-child(even) td { background: var(--surface); }

/* ── Callout Box ── */
.callout {
  background: var(--green-lt);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: .93rem;
  color: var(--ink-mid);
}
.callout.warning {
  background: #FFF7E6;
  border-color: #D48806;
}
.callout strong { display: block; margin-bottom: .25rem; color: var(--ink); }

/* ── CTA Box ── */
.cta-box {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  margin: 2.5rem 0;
}
.cta-box h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: .5rem; }
.cta-box p { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: 1.25rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .75rem 1.75rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-red { background: var(--red); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  padding: 3rem 1.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: .75rem; font-size: 1.2rem; }
.footer-brand p { font-size: .82rem; line-height: 1.6; }
.footer-col h4 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: .85rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .45rem; }
.footer-col a { font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .78rem;
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--white); text-decoration: none; }

/* ── Blog Index Cards ── */
.blog-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  height: 160px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .5rem;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: .6rem;
}
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--red); text-decoration: none; }
.blog-card-excerpt { font-size: .85rem; color: var(--ink-mute); line-height: 1.55; flex: 1; }
.blog-card-meta {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .75rem;
  color: var(--ink-mute);
  border-top: 1px solid var(--border);
  padding-top: .75rem;
}
.blog-card-meta a { color: var(--red); font-weight: 600; }

/* ── Province Cards ── */
.province-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.province-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform .2s, box-shadow .2s;
}
.province-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.province-card .flag { font-size: 2rem; margin-bottom: .75rem; }
.province-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .4rem;
}
.province-card p { font-size: .85rem; color: var(--ink-mute); margin: 0; }
.province-card .reg-badge {
  display: inline-block;
  margin-top: .75rem;
  font-size: .7rem;
  font-weight: 600;
  padding: .2rem .6rem;
  border-radius: 20px;
  letter-spacing: .04em;
}
.reg-badge.agco { background: #E6F4FF; color: #0958D9; }
.reg-badge.kahnawake { background: var(--surface); color: var(--ink-mid); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { gap: 1rem; }
  .nav-links li:not(:last-child):not(:nth-last-child(2)) { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .page-hero { padding: 2.5rem 1rem 2rem; }
}
