/* ============================================
   1. CSS VARIABLES & RESET
   ============================================ */
:root {
  /* Colors — Light theme */
  --bg: #F5F3EF;
  --bg-hero: #1A1A2E;
  --text: #1C1C1E;
  --text-muted: #6B6B6B;
  --accent: #00875A;
  --accent-light: #E6F4ED;
  --border: #D9D6D0;
  --surface: #FFFFFF;
  --red: #C0392B;
  --hero-text: #FFFFFF;
  --hero-accent: #D4AF37;

  /* Typography */
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Spacing */
  --section-gap: clamp(64px, 8vw, 96px);
  --content-width: 720px;
  --wide-width: 960px;
  --content-padding: clamp(20px, 4vw, 40px);

  /* Misc */
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
  --transition: 0.25s ease;

    /* --- AUTO-FORCED DARK THEME --- */
    --bg: #141416;
    --text: #E8E6E3;
    --text-muted: #9A9A9A;
    --accent: #2ECC71;
    --accent-light: #1A2E24;
    --border: #333333;
    --surface: #1E1E22;
    --hero-text: #FFFFFF;
    --hero-accent: #D4AF37;
}

:root{
  --color-bg: var(--bg);
  --color-text: var(--text);
  --color-border: var(--border);
  --color-accent: var(--accent);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  interpolate-size: allow-keywords;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}

a:hover {
  opacity: 0.8;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================
   2. GENERAL TYPOGRAPHY
   ============================================ */
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1;
}

h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--text);
  text-align: left;
  scroll-margin-top: 2rem;
}

h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--text);
  text-align: left;
  scroll-margin-top: 2rem;
}

p {
  text-align: left;
  margin-bottom: 1em;
}

ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
  text-align: left;
}

li {
  margin-bottom: 0.4em;
  text-align: left;
}

strong {
  font-weight: 600;
}

blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25em;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--text-muted);
  text-align: left;
}

figure {
  margin: 1.5em auto;
}

figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5em;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95rem;
  text-align: left;
}

th, td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

th {
  font-weight: 600;
  background-color: var(--surface);
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}

/* ============================================
   3. LAYOUT — DATA-CONTENT SECTIONS
   ============================================ */
header {
  margin: 0;
  padding: 0;
}

main {
  width: 100%;
}

[data-content] {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--content-padding);
  margin-bottom: var(--section-gap);
}

[data-content] h2 {
  margin-bottom: 1em;
}

[data-content] h3 {
  margin-top: 2em;
  margin-bottom: 0.75em;
}

[data-content] p:last-child {
  margin-bottom: 0;
}

/* Wide sections */
[data-content="ranking"],
[data-content="licensing"] {
  max-width: var(--wide-width);
}

/* ============================================
   4. COMPONENTS
   ============================================ */

/* --- info-box --- */
.info-box {
  background-color: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0;
  margin: 1.5em 0;
  box-shadow: var(--shadow-sm);
}

.info-box p {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  text-align: left;
  background-color: var(--accent-light);
  margin-bottom: 0.5em;
}

.info-box p:last-child {
  margin-bottom: 0;
}

.info-box strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5em;
}

/* --- odds-example --- */
.odds-example {
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 24px 28px;
  border-radius: var(--radius);
  margin: 1.5em 0;
  box-shadow: var(--shadow-sm);
}

.odds-example p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: left;
  background-color: var(--surface);
  margin-bottom: 0.5em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--border);
}

.odds-example p:first-child {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  border-bottom: none;
  padding-bottom: 0.75em;
}

.odds-example p:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.odds-example strong {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
}

/* --- callout --- */
.callout {
  background-color: rgba(192, 57, 43, 0.06);
  border-left: 4px solid var(--red);
  padding: 20px 24px;
  border-radius: 0;
  margin: 1.5em 0;
  box-shadow: var(--shadow-sm);
}

.callout p {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  text-align: left;
  margin-bottom: 0;
}

.callout strong {
  color: var(--red);
}

.callout strong::before {
  content: "! ";
  font-weight: 700;
}

@media (prefers-color-scheme: dark) {
  .callout {
    background-color: rgba(192, 57, 43, 0.1);
  }
}

/* --- card-grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 1.5em 0;
}

.card-grid > div {
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card-grid > div:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-grid > div p {
  text-align: left;
  color: var(--text);
  background-color: var(--surface);
  margin-bottom: 0.5em;
}

.card-grid > div p:first-child {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
}

.card-grid > div p:last-child {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- comparison --- */
.comparison {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5em 0;
  box-shadow: var(--shadow-sm);
}

.comparison table {
  margin: 0;
}

.comparison th {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 12px 16px;
  color: var(--hero-text);
  background-color: var(--accent);
}

.comparison th:first-child {
  color: var(--text);
  background-color: var(--surface);
}

.comparison td {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
  padding: 10px 16px;
  color: var(--text);
  background-color: var(--surface);
}

.comparison tr:nth-child(even) td {
  background-color: var(--bg);
}

@media (prefers-color-scheme: dark) {
  .comparison th {
    color: #FFFFFF;
    background-color: #00694A;
  }
  .comparison th:first-child {
    color: var(--text);
    background-color: var(--surface);
  }
}

/* --- key-takeaway --- */
.key-takeaway {
  border: none;
  background: none;
  box-shadow: none;
  border-top: 2px solid var(--text);
  padding-top: 16px;
  margin: 2em 0;
}

.key-takeaway p {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  line-height: 1.4;
  color: var(--text);
  text-align: left;
  margin-bottom: 0;
}

/* --- fun-fact --- */
.fun-fact {
  position: relative;
  padding-left: 24px;
  margin: 1.5em 0;
  border: none;
  background: none;
  box-shadow: none;
}

.fun-fact::before {
  content: "\2014";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.fun-fact p {
  font-style: italic;
  color: var(--text-muted);
  text-align: left;
  margin-bottom: 0;
}

/* --- glossary-term --- */
.glossary-term {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 1em 0;
  border: none;
  background: none;
  box-shadow: none;
}

.glossary-term strong {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.glossary-term span {
  font-family: var(--font-body);
  color: var(--text-muted);
  text-align: left;
}

@media (max-width: 480px) {
  .glossary-term {
    flex-direction: column;
    gap: 4px;
  }
}

/* --- dos-donts --- */
.dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5em 0;
  box-shadow: var(--shadow-sm);
}

.dos-donts > div {
  padding: 0;
}

.dos-donts > div:first-child p strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 12px 16px;
  color: #FFFFFF;
  background-color: #00875A;
}

.dos-donts > div:last-child p strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 12px 16px;
  color: #FFFFFF;
  background-color: #C0392B;
}

@media (prefers-color-scheme: dark) {
  .dos-donts > div:first-child p strong {
    color: #FFFFFF;
    background-color: #00694A;
  }
  .dos-donts > div:last-child p strong {
    color: #FFFFFF;
    background-color: #9B2C22;
  }
}

.dos-donts > div p {
  text-align: left;
  margin-bottom: 0;
}

.dos-donts ul {
  padding: 12px 16px 12px 32px;
  margin: 0;
  list-style: none;
}

.dos-donts > div:first-child li {
  text-align: left;
  color: var(--text);
  font-size: 0.9rem;
  padding: 6px 0;
}

.dos-donts > div:first-child li::before {
  content: "\2713 ";
  color: var(--accent);
  font-weight: 700;
  margin-right: 6px;
}

.dos-donts > div:last-child li {
  text-align: left;
  color: var(--text);
  font-size: 0.9rem;
  padding: 6px 0;
}

.dos-donts > div:last-child li::before {
  content: "\2717 ";
  color: var(--red);
  font-weight: 700;
  margin-right: 6px;
}

@media (max-width: 600px) {
  .dos-donts {
    grid-template-columns: 1fr;
  }
}

/* --- pre-bet-checklist --- */
.pre-bet-checklist {
  margin: 2em 0;
  border: none;
  background: none;
  box-shadow: none;
}

.pre-bet-checklist p strong {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-size: 0.9rem;
}

.pre-bet-checklist ul {
  border-left: 2px solid var(--border);
  padding-left: 24px;
  margin-top: 12px;
  list-style: none;
}

.pre-bet-checklist li {
  position: relative;
  padding: 6px 0;
  text-align: left;
  font-size: 0.95rem;
  color: var(--text);
}

.pre-bet-checklist li::before {
  content: "\2610";
  position: absolute;
  left: -28px;
  color: var(--accent);
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.7;
}

/* --- at-a-glance --- */
.at-a-glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5em 0;
  box-shadow: var(--shadow-sm);
}

.at-a-glance > div {
  padding: 20px;
  border-right: 1px solid var(--border);
  background-color: var(--surface);
}

.at-a-glance > div:last-child {
  border-right: none;
}

.at-a-glance > div p:first-child {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--text);
  text-align: center;
  margin-bottom: 0.5em;
  background-color: var(--surface);
}

.at-a-glance > div p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 0;
  background-color: var(--surface);
}

@media (max-width: 600px) {
  .at-a-glance {
    grid-template-columns: 1fr;
  }
  .at-a-glance > div {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .at-a-glance > div:last-child {
    border-bottom: none;
  }
}

/* --- worked-example --- */
.worked-example {
  background-color: #F9F8F5;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 1.5em 0;
  box-shadow: var(--shadow-sm);
}

@media (prefers-color-scheme: dark) {
  .worked-example {
    background-color: #1C1C20;
  }
}

.worked-example p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  text-align: left;
  margin-bottom: 0.75em;
}

.worked-example p:first-child {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1em;
}

.worked-example p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--accent);
}

.worked-example p + p::before {
  content: "\2192 ";
  color: var(--accent);
  font-weight: 700;
}

.worked-example p:first-child::before {
  content: none;
}

.worked-example strong {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.2rem;
}

/* --- section-bridge --- */
.section-bridge {
  text-align: center;
  margin: 48px auto;
  max-width: 500px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-bridge::before,
.section-bridge::after {
  content: "";
  flex: 0 0 40px;
  height: 1px;
  background-color: var(--border);
}

.section-bridge p {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 0;
  flex: 1;
}

/* ============================================
   5. HERO SECTION
   ============================================ */
[data-content="hero"] {
  max-width: 100%;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 0;
  padding: clamp(60px, 10vw, 120px) var(--content-padding) clamp(48px, 8vw, 80px);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 24px),
    radial-gradient(ellipse at 70% 40%, rgba(0,135,90,0.15) 0%, transparent 60%),
    var(--bg-hero);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

[data-content="hero"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

[data-content="hero"] .label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hero-accent);
  margin-bottom: 16px;
}

[data-content="hero"] h1 {
  color: var(--hero-text);
  max-width: 800px;
  margin-bottom: 20px;
}

[data-content="hero"] .subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin-bottom: 24px;
  line-height: 1.5;
  text-align: center;
}

[data-content="hero"] .hero-divider {
  width: 48px;
  height: 2px;
  background-color: var(--hero-accent);
  margin-bottom: 20px;
}

[data-content="hero"] .hero-meta {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}

[data-content="hero"] figure {
  max-width: var(--content-width);
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

[data-content="hero"] figure img {
  border-radius: var(--radius);
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

[data-content="hero"] figcaption {
  color: rgba(255,255,255,0.5);
  margin-top: 0.75em;
}

.hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Start Reading button */
.start-reading {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 28px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--hero-text);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition);
  position: relative;
  z-index: 1;
}

.start-reading:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  opacity: 1;
}

/* ============================================
   5b. TOC — Compact Horizontal Strip
   ============================================ */
[data-content="toc"] {
  max-width: var(--wide-width);
  margin-bottom: var(--section-gap);
  padding-top: 32px;
}

[data-content="toc"] nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

[data-content="toc"] nav a {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}

[data-content="toc"] nav a:hover {
  background-color: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
  opacity: 1;
}

[data-content="toc"] nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================
   6. ARTICLE IMAGE
   ============================================ */
.article-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
}

/* ============================================
   7. FAQ ACCORDION
   ============================================ */
[data-content="faq"] details {
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

[data-content="faq"] summary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: color var(--transition);
}

[data-content="faq"] summary::-webkit-details-marker {
  display: none;
}

[data-content="faq"] summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

[data-content="faq"] details[open] summary::after {
  content: "\2212";
  transform: rotate(180deg);
}

[data-content="faq"] summary:hover {
  color: var(--accent);
}

[data-content="faq"] summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Modern accordion animation — ::details-content */
[data-content="faq"] details::details-content {
  opacity: 0;
  block-size: 0;
  overflow: hidden;
  transition:
    opacity var(--transition),
    block-size var(--transition),
    content-visibility var(--transition) allow-discrete;
}

[data-content="faq"] details[open]::details-content {
  opacity: 1;
  block-size: auto;
}

/* Fallback for browsers without ::details-content */
@supports not selector(::details-content) {
  @keyframes faq-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  [data-content="faq"] details[open] > *:not(summary) {
    animation: faq-fade-in 0.3s ease;
  }
}

[data-content="faq"] details div {
  padding-bottom: 18px;
}

[data-content="faq"] details div p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: left;
}


/* ============================================
   9. MEDIA QUERIES
   ============================================ */
@media (max-width: 768px) {
  [data-content="hero"] {
    padding: clamp(40px, 8vw, 60px) var(--content-padding) clamp(32px, 6vw, 48px);
  }

  .comparison table {
    font-size: 0.8rem;
  }

  .comparison th,
  .comparison td {
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  [data-content="toc"] nav {
    gap: 8px;
  }

  [data-content="toc"] nav a {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .comparison {
    overflow-x: auto;
  }
}

/* =========================================
   UNIVERSAL DESKTOP & MOBILE MENU
   ========================================= */

/* Header Base */
.site-header {
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border, #333);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-navigation-bar {
    max-width: var(--wide-width, 1100px);
    margin: 0 auto;
    padding: 15px var(--component-padding, 24px);
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Keep mobile burger on the right */
}

/* --- DESKTOP MENU --- */
.site-nav--desktop {
    display: none; /* Hidden on mobile by default */
}

@media (min-width: 769px) {
    .top-navigation-bar {
        justify-content: center; /* Center the desktop menu */
    }

    .site-nav--desktop {
        display: block;
    }
    .mobile-controls {
        display: none; /* Hide burger on desktop */
    }
    
    .menu-desktop {
        display: flex;
        gap: 30px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .menu-desktop a {
        text-decoration: none;
        color: var(--color-text);
        font-family: var(--font-body, sans-serif);
        font-weight: 500;
        font-size: 16px;
        transition: color 0.2s ease;
    }
    
    .menu-desktop a:hover {
        color: var(--color-accent);
    }
}

/* --- MOBILE BURGER BUTTON --- */
.burger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
    z-index: 1000;
}

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

/* Burger Animation to X */
.burger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.burger.is-active span:nth-child(2) {
    opacity: 0;
}
.burger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- MOBILE MENU SLIDER --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen */
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-bg);
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    padding: 60px 30px;
}

.mobile-menu.is-open {
    right: 0; /* Slide in */
}

.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 36px;
    line-height: 1;
    color: var(--color-text);
    cursor: pointer;
    transition: color 0.2s ease;
}

.mobile-menu__close:hover {
    color: var(--color-accent);
}

.menu-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.menu-mobile a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 20px;
    font-family: var(--font-display, sans-serif);
    font-weight: 600;
    display: block;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.menu-mobile a:hover {
    color: var(--color-accent);
    padding-left: 10px; /* Nice slide effect on hover */
}

/* --- OVERLAY --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px); /* Beautiful blur effect */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    z-index: 998;
}

.mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* =========================================
   Footer Structure & Styles (UK Casino Theme)
   ========================================= */

.site-footer {
    background-color: #090a0f; /* Very dark, sleek background */
    color: #a1a1aa; /* Light gray text for readability */
    padding: 70px 20px 25px;
    font-family: inherit;
    border-top: 1px solid #1f2937;
    margin-top: 60px;
}

/* 4-Column Grid System */
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 50px;
}

/* Headings with sleek green bottom border */
.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #22c55e; /* Green accent color */
}

/* Reset Lists */
.footer-links-custom,
.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-custom li,
.footer-menu-list li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
}

/* Links */
.site-footer a {
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.site-footer a:hover {
    color: #22c55e; /* Turns green on hover */
}

/* Plain text lists formatting */
.footer-links-custom.text-only li {
    color: #83838d;
}

/* Bottom Copyright Bar */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid #1f2937;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: #aaaab8;
    text-align: center;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 40px;
    }
}

#crumbs {
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    text-align: center; 
}

#crumbs a {
    text-decoration: none;
    color: #0073aa; 
}

#crumbs a:hover {
    text-decoration: underline;
}

#crumbs .current {
    font-weight: bold;
    color: rgb(255, 255, 255);
}