/* =========================================================
   MAGIUS — design tokens & components
   Palette sampled from the Magius logo and reference lobby.
   ========================================================= */
/* ---------- Self-hosted display fonts (latin + latin-ext, full Polish coverage) ---------- */
@font-face {
  font-family: "Titan One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/titan-one-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Titan One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/titan-one-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sancreek"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/sancreek-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sancreek"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/sancreek-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;

  /* Maroon stage (logo background is #441618) */
  --bg-0: #2a0c0f;   /* footer, header base */
  --bg-1: #3a1316;   /* page */
  --bg-2: #441618;   /* panels, sidebar — matches logo */
  --bg-3: #57201f;   /* raised cards */
  --edge: #6e3424;   /* card borders */

  /* Gold lettering */
  --gold-hi: #ffe49a;
  --gold:    #f0b43c;
  --gold-lo: #a86b22;
  --gold-line: #8a5a2e;

  /* Text */
  --cream: #f8ead0;
  --muted: #d6b89c;
  --dim:   #a88672;

  /* Accents from the logo glow and CTA */
  --magenta: #c42d7a;
  --violet:  #4d1f5e;
  --green-hi: #5bd463;
  --green-lo: #1c7f29;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 28px;
  --head-h: 64px;
  --side-w: 252px;

  --f-display: "Sancreek", "Georgia", serif;
  --f-label: "Titan One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --f-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0;
  background: var(--bg-1);
  color: var(--cream);
  font: 400 1rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-hi); }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 2px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--bg-0); padding: 8px 14px; border-radius: 8px;
  font-family: var(--f-label); text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Image placeholder boxes (swap for <img> when artwork arrives) ---------- */
.ph {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 10px; text-align: center;
  border: 2px dashed var(--gold-lo);
  border-radius: inherit;
  background:
    repeating-linear-gradient(135deg, rgba(240,180,60,.07) 0 10px, transparent 10px 20px),
    var(--bg-3);
  color: var(--gold-hi);
  font-size: .78rem; line-height: 1.3;
  overflow: hidden;
}
.ph b { font-weight: 800; word-break: break-all; }
.ph small { color: var(--muted); font-size: .72rem; }
.ico { flex: none; width: 28px; height: 28px; filter: drop-shadow(0 2px 0 rgba(0,0,0,.3)); }
.ico-lg { width: 56px; height: 56px; }
.ph-tag {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  padding: 4px 8px; border: 1.5px dashed var(--gold-lo); border-radius: 8px;
  background: rgba(42,12,15,.75); color: var(--gold-hi); font-size: .72rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--head-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 16px;
  background: linear-gradient(var(--bg-0), #33100f);
  border-bottom: 1px solid var(--gold-line);
}
.burger {
  display: grid; place-items: center; width: 42px; height: 42px;
  background: none; border: 0; border-radius: 10px; cursor: pointer; color: var(--gold);
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 22px; height: 3px; border-radius: 2px; background: currentColor; position: relative;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; width: 15px; }
.brand { display: block; border-radius: 8px; }
.brand img { height: 46px; width: auto; }
.header-actions { margin-left: auto; display: flex; gap: 10px; }
.header-actions .btn-green { min-height: 44px; padding: 8px 18px; font-size: 1rem; border-width: 2px; box-shadow: 0 0 0 2px var(--bg-0), 0 0 0 3px var(--gold-lo); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 18px;
  font: 400 1rem/1 var(--f-label); letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; border-radius: 12px; cursor: pointer;
}
.btn-gold {
  color: var(--gold-hi);
  background: linear-gradient(#5b1f45, #3d1430);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 2px var(--bg-0), 0 0 0 3px var(--gold-lo);
}
.btn-gold:hover { color: #fff; background: linear-gradient(#6d2655, #4a1838); }
.btn-green {
  min-height: 54px; padding: 12px 30px; font-size: 1.2rem;
  color: #fff7e0; text-shadow: 0 2px 0 #145a1d;
  background: linear-gradient(var(--green-hi), var(--green-lo));
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 3px var(--bg-0), 0 0 0 5px var(--gold-lo), 0 10px 24px rgba(0,0,0,.4);
}
.btn-green:hover { color: #fff; filter: brightness(1.08); }
.link-quiet {
  font-family: var(--f-label); text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted); text-decoration: none; font-size: .9rem;
}
.link-quiet:hover { color: var(--gold-hi); }
@media (max-width: 520px) {
  .header-actions .btn { padding: 6px 10px; font-size: .82rem; min-height: 40px; }
  .brand img { height: 38px; }
}

/* ---------- Layout + sidebar ---------- */
.layout { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); }
.sidebar {
  position: sticky; top: var(--head-h);
  height: calc(100vh - var(--head-h)); overflow-y: auto;
  padding: 14px 10px 24px;
  background: var(--bg-2);
  border-right: 1px solid var(--gold-line);
}
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px;
  font: 400 .9rem/1.15 var(--f-label); letter-spacing: .01em; text-transform: uppercase;
  color: #f3d9a0; text-decoration: none; border: 2px solid transparent;
}
.side-link:hover { background: rgba(0,0,0,.18); color: var(--gold-hi); }
.side-link[aria-current] {
  background: var(--bg-0); color: #fff3dc;
  border-color: transparent var(--gold) transparent var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold-line);
}
.divider { position: relative; height: 1px; margin: 12px 8px;
  background: linear-gradient(90deg, transparent, var(--gold-line) 15%, var(--gold-line) 85%, transparent); }
.divider::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px;
  border: 1px solid var(--gold-line); background: var(--bg-2);
  transform: translate(-50%, -50%) rotate(45deg);
}
.side-note { margin: 16px 10px 0; font-size: .8rem; color: var(--dim); }
.side-note strong { color: var(--muted); }
.scrim { display: none; }

@media (min-width: 1100px) { .burger { display: none; } }
@media (max-width: 1099px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; left: 0; top: var(--head-h); bottom: 0; z-index: 50;
    height: auto; width: min(84vw, 290px);
    transform: translateX(-100%); transition: transform .25s ease;
    box-shadow: 12px 0 30px rgba(0,0,0,.5);
  }
  .sidebar.is-open { transform: none; }
  .scrim.is-open {
    display: block; position: fixed; inset: var(--head-h) 0 0 0; z-index: 45;
    background: rgba(20,5,7,.6);
  }
}

main { min-width: 0; padding-bottom: 40px; }
.section { padding: 28px clamp(16px, 3vw, 36px); }
.section + .section { padding-top: 8px; }
.band { background: var(--bg-0); border-block: 1px solid var(--gold-line); margin-block: 20px; padding-block: 36px; }

/* ---------- Section heading with gold rule (from lobby rows) ---------- */
.sec-head { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.sec-head h2 {
  margin: 0; font: 400 clamp(1.2rem, 1rem + .8vw, 1.55rem)/1.15 var(--f-label);
  letter-spacing: .02em; text-transform: uppercase; color: #fff3dc;
}
.sec-head .rule { flex: 1; position: relative; height: 1px; background: var(--gold-line); min-width: 24px; }
.sec-head .rule::before, .sec-head .rule::after {
  content: ""; position: absolute; top: 50%; width: 7px; height: 7px;
  border: 1px solid var(--gold-line); background: var(--bg-1); transform: translateY(-50%) rotate(45deg);
}
.band .sec-head .rule::before, .band .sec-head .rule::after { background: var(--bg-0); }
.sec-head .rule::before { left: 0; }
.sec-head .rule::after { right: 0; }
.sec-head a { white-space: nowrap; }
.lede { max-width: 68ch; color: var(--muted); margin: -6px 0 20px; }

/* ---------- Hero / circus stage ---------- */
.hero {
  position: relative; overflow: hidden;
  margin: 16px clamp(12px, 2vw, 24px) 0;
  border-radius: var(--r-l);
  min-height: 460px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center;
  gap: 16px; padding: 40px clamp(20px, 4vw, 56px) 64px;
  background:
    radial-gradient(ellipse 60% 70% at 75% 35%, rgba(232,108,44,.55), transparent 65%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(91,42,138,.55), transparent 60%),
    linear-gradient(160deg, #7a2a22, #3b1417 72%);
  background:
    linear-gradient(90deg, rgba(42,12,15,.55), rgba(42,12,15,.15) 45%, transparent 60%),
    url("/assets/img/hero/hero-bg-circus-tent.webp") 62% center / cover no-repeat,
    #3b1417;
}
.stage-frame {
  position: relative; z-index: 1;
  max-width: 560px; padding: 34px clamp(22px, 3vw, 38px) 30px;
  border-radius: 34px;
  background: radial-gradient(ellipse at 50% 0%, #5e2320, #3a1316 75%);
  border: 3px solid var(--gold);
  box-shadow:
    inset 0 0 0 5px #3a1316,
    inset 0 0 0 7px var(--gold-lo),
    0 0 0 3px var(--bg-0),
    0 18px 40px rgba(0,0,0,.45);
}
.stage-frame::before, .stage-frame::after {
  content: ""; position: absolute; top: -9px; width: 18px; height: 18px;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--gold-hi), var(--gold-lo));
  box-shadow: 0 0 0 3px var(--bg-0);
}
.stage-frame::before { left: 40px; }
.stage-frame::after { right: 40px; }
.hero h1 {
  margin: 0 0 14px;
  font: 400 clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem)/1.08 var(--f-display);
  background: linear-gradient(#fff0b8, var(--gold) 55%, #b9782a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #2a0c0f);
}
.hero h1 .h1-sub { display: block; margin-top: 8px; font-size: .52em; line-height: 1.2; }
.hero p { margin: 0 0 24px; color: var(--cream); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.hero-actions .btn-gold { min-height: 54px; padding: 12px 26px; font-size: 1.1rem; box-shadow: 0 0 0 3px var(--bg-0), 0 0 0 5px var(--gold-lo), 0 10px 24px rgba(0,0,0,.4); }
.hero-mascot { position: relative; z-index: 1; justify-self: center; width: min(100%, 420px); aspect-ratio: 1; border-radius: 50%; }
.rope {
  position: absolute; left: 32px; right: 32px; bottom: 26px; height: 2px;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold), var(--gold-lo));
}
.rope::before, .rope::after {
  content: ""; position: absolute; top: -8px; width: 18px; height: 18px; border-radius: 50%;
  border: 3px solid var(--gold); background: var(--bg-0);
}
.rope::before { left: -6px; }
.rope::after { right: -6px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; min-height: 0; }
  .hero {
    background:
      linear-gradient(transparent 200px, #3b1417 340px),
      url("/assets/img/hero/hero-bg-circus-tent.webp") 58% top / auto 340px no-repeat,
      #3b1417;
  }
  .hero-mascot { order: -1; width: min(70%, 280px); }
  .stage-frame { margin-inline: auto; }
}

/* ---------- Category chip rail ---------- */
.chips {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 18px clamp(16px, 3vw, 36px) 8px; list-style: none; margin: 0;
  scroll-padding-inline: clamp(16px, 3vw, 36px);
  scrollbar-width: thin; scrollbar-color: var(--gold-lo) transparent;
}
.chips li { flex: none; scroll-snap-align: start; }
.chip {
  display: flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 7px 14px 7px 9px; border-radius: 12px;
  background: var(--bg-2); border: 2px solid var(--edge); box-shadow: inset 0 0 0 1px var(--bg-0);
  font: 400 .92rem/1 var(--f-label); letter-spacing: .03em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.chip:hover { border-color: var(--gold); color: var(--gold-hi); }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 18px; border-radius: var(--r-m);
  background: linear-gradient(170deg, var(--bg-3), var(--bg-2));
  border: 2px solid var(--edge); text-decoration: none; color: var(--cream);
}
.cat-card:hover { border-color: var(--gold); }
.cat-card h3 { margin: 0; font: 400 1.2rem/1.2 var(--f-label); letter-spacing: .02em; color: var(--gold-hi); }
.cat-card p { margin: 0; font-size: .93rem; color: var(--muted); }
.cat-card .go { margin-top: auto; font-weight: 800; font-size: .88rem; color: var(--gold); }

/* ---------- Game cards ---------- */
.game-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 15vw, 196px);
  gap: 14px; overflow-x: auto; padding: 6px 2px 14px; scroll-snap-type: x proximity;
  list-style: none; margin: 0;
  scrollbar-width: thin; scrollbar-color: var(--gold-lo) transparent;
}
.game-card { scroll-snap-align: start; }
.game-card a { display: block; text-decoration: none; color: var(--cream); }
.game-art {
  aspect-ratio: 2 / 3; border-radius: 18px;
  border: 3px solid var(--edge); box-shadow: inset 0 0 0 2px var(--gold-lo);
  overflow: hidden;
}
.game-art .ph { border: 0; border-radius: 0; height: 100%; }
.game-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.game-card a:hover .game-art { border-color: var(--gold); }
.game-card h3 { margin: 10px 2px 2px; font-size: .95rem; line-height: 1.25; font-weight: 800; }
.game-card .meta { margin: 0 2px; font-size: .8rem; color: var(--dim); }
.dev-note {
  margin: 0 0 14px; padding: 10px 14px; border-radius: 10px;
  border: 1.5px dashed var(--gold-lo); color: var(--muted); font-size: .85rem; max-width: 80ch;
}

/* ---------- Prose + split layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.prose { max-width: 68ch; }
.prose h3 { font: 400 1.25rem/1.25 var(--f-label); color: var(--gold-hi); margin: 26px 0 8px; letter-spacing: .02em; }
.prose p { margin: 0 0 14px; }
.prose a { font-weight: 700; }
.panel {
  padding: 22px; border-radius: var(--r-m);
  background: var(--bg-2); border: 2px solid var(--edge);
}
.panel h3 { margin: 0 0 12px; font: 400 1.15rem/1.2 var(--f-label); color: var(--gold-hi); }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li + li { border-top: 1px solid rgba(138,90,46,.45); }
.link-list a { display: block; padding: 10px 0; text-decoration: none; font-weight: 700; }
.link-list span { display: block; font-weight: 400; font-size: .85rem; color: var(--dim); }
.media-box { aspect-ratio: 10 / 7; border-radius: var(--r-m); }
.media-box.tall { aspect-ratio: 7 / 9; max-width: 360px; margin-inline: auto; }
.media-box > img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; border: 2px solid var(--gold-lo); }
.media-box.tall > img { object-fit: contain; border: 0; }

/* ---------- Live tables ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 18px; }
.mini-link {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
  background: var(--bg-2); border: 2px solid var(--edge);
  font: 400 1rem/1.1 var(--f-label); letter-spacing: .02em; color: #f3d9a0; text-decoration: none;
}
.mini-link:hover { border-color: var(--gold); color: var(--gold-hi); }

/* ---------- Promotion cards ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.promo-card {
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: var(--bg-2); border: 2px solid var(--gold-lo);
}
.promo-card .promo-art { aspect-ratio: 16 / 9; }
.promo-card .promo-art { border-bottom: 2px solid var(--gold-lo); }
.promo-card .promo-art img { width: 100%; height: 100%; object-fit: cover; }
.promo-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promo-body h3 { margin: 0; font: 400 1.2rem/1.2 var(--f-label); color: var(--gold-hi); }
.promo-body p { margin: 0; font-size: .93rem; color: var(--muted); }
.checklist {
  margin-top: 20px; padding: 20px 22px; border-radius: var(--r-m);
  border: 2px solid var(--edge); background: rgba(0,0,0,.18); max-width: 80ch;
}
.checklist h3 { margin: 0 0 8px; font: 400 1.1rem/1.2 var(--f-label); color: var(--gold-hi); }
.checklist ul { margin: 0; padding-left: 1.2em; }
.checklist li { margin: 4px 0; }

/* ---------- Practical info tiles ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.info-tile {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start;
  padding: 16px; border-radius: var(--r-m); text-decoration: none; color: var(--cream);
  background: var(--bg-2); border: 2px solid var(--edge);
}
.info-tile:hover { border-color: var(--gold); }
.info-tile .ico { grid-row: span 2; width: 40px; height: 40px; }
.info-tile strong { font: 400 1.08rem/1.2 var(--f-label); color: var(--gold-hi); letter-spacing: .02em; }
.info-tile span:last-child { font-size: .88rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 80ch; display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--bg-2); border: 2px solid var(--edge); }
.faq details[open] { border-color: var(--gold-lo); }
.faq summary {
  list-style: none; cursor: pointer; padding: 14px 48px 14px 18px; position: relative;
  font-weight: 800; color: #fff3dc;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 18px 16px; color: var(--muted); }
.faq .answer p { margin: 0 0 10px; }

/* ---------- Responsible gambling notice ---------- */
.rg-notice {
  display: flex; gap: 16px; align-items: center;
  margin: 0 clamp(16px, 3vw, 36px); padding: 18px 20px; border-radius: var(--r-m);
  border: 2px solid var(--gold-lo); background: linear-gradient(90deg, rgba(77,31,94,.55), rgba(68,22,24,.6));
}
.age-badge {
  flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  border: 3px solid var(--gold); font: 400 1.15rem/1 var(--f-label); color: var(--gold-hi);
}
.rg-notice p { margin: 0; font-size: .93rem; }

/* ---------- Inner pages: breadcrumbs + page head ---------- */
.crumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0;
  padding: 16px clamp(16px, 3vw, 36px) 0; font-size: .85rem; color: var(--dim);
}
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--gold-lo); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-hi); }
.page-head {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: center;
  margin: 12px clamp(12px, 2vw, 24px) 0; padding: 32px clamp(20px, 4vw, 48px);
  border-radius: var(--r-l); border: 2px solid var(--gold-lo);
  background:
    radial-gradient(ellipse 60% 80% at 85% 30%, rgba(232,108,44,.35), transparent 65%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(91,42,138,.45), transparent 60%),
    linear-gradient(160deg, #5e2320, #3a1316 75%);
}
.page-head.no-art { grid-template-columns: minmax(0, 1fr); }
.page-head h1 {
  margin: 0 0 14px;
  font: 400 clamp(1.7rem, 1.1rem + 2vw, 2.6rem)/1.12 var(--f-display);
  background: linear-gradient(#fff0b8, var(--gold) 55%, #b9782a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #2a0c0f);
}
.page-head p { margin: 0 0 20px; max-width: 62ch; }
.page-head .tag { margin-bottom: 12px; }
.page-head .art > img, .page-head .art > .ph { width: 100%; height: auto; border-radius: 18px; border: 2px solid var(--gold-lo); }
.page-head .art > img[src*="/promos/"] { aspect-ratio: 16 / 9; object-fit: cover; }
.chips-inline { padding: 0; scroll-padding-inline: 0; }
@media (max-width: 900px) { .page-head { grid-template-columns: minmax(0, 1fr); } }

.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px; border: 1.5px solid;
  font: 400 .78rem/1.3 var(--f-label); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.tag-kasyno { color: var(--gold-hi); border-color: var(--gold-lo); background: rgba(240,180,60,.12); }
.tag-sport { color: #bff3c2; border-color: #2e8a3a; background: rgba(91,212,99,.12); }
.tag-specjalne { color: #ffc4e2; border-color: var(--magenta); background: rgba(196,45,122,.16); }

/* ---------- Key facts ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; margin: 0; }
.facts div { padding: 14px 16px; border-radius: var(--r-s); background: var(--bg-2); border: 2px solid var(--edge); }
.facts dt { font: 400 .8rem/1.2 var(--f-label); letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }
.facts dd { margin: 4px 0 0; font-weight: 700; color: #fff3dc; }
.fine { margin: 10px 0 0; font-size: .82rem; color: var(--dim); }

/* ---------- Long-form content ---------- */
.doc { max-width: 1020px; }
.doc h2 {
  display: flex; align-items: center; gap: 14px; margin: 34px 0 14px;
  font: 400 clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.2 var(--f-label);
  letter-spacing: .02em; text-transform: uppercase; color: #fff3dc;
}
.doc h2::after { content: ""; flex: 1; min-width: 24px; height: 1px; background: var(--gold-line); }
.doc > h2:first-child { margin-top: 0; }
.doc h3 { font: 400 1.15rem/1.25 var(--f-label); color: var(--gold-hi); margin: 22px 0 8px; }
.doc p, .doc > ul { max-width: 72ch; }
.doc p { margin: 0 0 14px; }
.doc > ul { padding-left: 1.2em; margin: 0 0 16px; }
.doc li { margin: 6px 0; }
.doc a { font-weight: 700; }
.doc .faq { margin-top: 18px; }
.formula {
  display: inline-block; padding: 10px 16px; border-radius: var(--r-s);
  background: var(--bg-0); border: 1.5px solid var(--gold-lo); font-weight: 800; color: var(--gold-hi);
}

.steps {
  list-style: none; counter-reset: step; margin: 0 0 8px; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px;
}
.steps li {
  counter-increment: step; position: relative; margin: 0;
  padding: 18px 18px 18px 72px; border-radius: var(--r-m);
  background: var(--bg-2); border: 2px solid var(--edge);
}
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 16px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font: 400 1.3rem/1 var(--f-label); color: var(--bg-0);
  background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 60%, var(--gold-lo));
  box-shadow: 0 0 0 2px var(--bg-0), 0 0 0 3px var(--gold-lo);
}
.steps strong { display: block; margin-bottom: 4px; font: 400 1.05rem/1.25 var(--f-label); color: var(--gold-hi); letter-spacing: .02em; }
.steps span { font-size: .92rem; color: var(--muted); }

.table-wrap { overflow-x: auto; margin: 0 0 16px; border-radius: var(--r-m); border: 2px solid var(--edge); }
.data-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .93rem; }
.data-table th, .data-table td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(138,90,46,.45); }
.data-table thead th { background: var(--bg-0); font: 400 .85rem/1.2 var(--f-label); letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
.data-table tbody tr:nth-child(even) { background: rgba(0,0,0,.14); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table-center td + td, .data-table-center th + th { text-align: center; }
.data-table-compact { min-width: 420px; }
.data-table-compact td:nth-child(odd) { color: var(--muted); }
.data-table-compact td:nth-child(even) { font-weight: 800; color: var(--gold-hi); }

.callout {
  max-width: 72ch; margin: 18px 0; padding: 14px 18px; border-radius: var(--r-m);
  border: 2px solid var(--gold-lo); background: rgba(77,31,94,.35);
}
.callout p:last-child { margin: 0; }
.callout strong:first-child { color: var(--gold-hi); }

.callout-warn { border-color: var(--magenta); background: rgba(196,45,122,.14); margin: 0; }

/* ---------- Login window illustration (non-interactive) ---------- */
.login-mock {
  position: relative; max-width: 420px; margin-inline: auto; padding: 22px 26px 20px;
  border-radius: 22px; background: linear-gradient(#4a1a1c, #3a1316);
  border: 3px solid #6e2a20; box-shadow: inset 0 0 0 2px #2a0c0f, 0 18px 40px rgba(0,0,0,.45);
  user-select: none;
}
.login-mock > div { display: flex; flex-direction: column; }
.mock-close {
  position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 9px; background: #6e2a20; border: 2px solid var(--gold); color: var(--gold-hi); font-weight: 800;
}
.mock-title { margin: 4px 0 16px; text-align: center; font: 400 1.5rem/1 var(--f-label); text-transform: uppercase; color: #fff; }
.mock-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.mock-tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 6px;
  border-radius: 10px; border: 2px solid #6e2a20; background: #5a1f1f;
  font-size: .78rem; font-weight: 700; color: #f2a7a0;
}
.mock-tab svg { width: 16px; height: 16px; }
.mock-tab.is-active { border-color: var(--gold); background: #6b2a22; color: #fff3dc; }
.mock-label { margin: 0 0 5px; font-size: .78rem; font-weight: 700; color: #f2a7a0; }
.mock-field {
  position: relative; display: flex; align-items: center; margin-bottom: 14px; padding: 11px 14px;
  border-radius: 10px; border: 2px solid var(--gold); background: linear-gradient(#ffe9c9, #f6d3a6);
  color: #9a6a55; font-weight: 700; font-size: .92rem;
}
.mock-eye { margin-left: auto; color: #5a2a1c; }
.mock-link { position: relative; align-self: center; margin: 0 0 16px; font-size: .82rem; font-weight: 800; color: #fff; text-decoration: underline; }
.mock-btn {
  position: relative; padding: 13px; text-align: center; border-radius: 14px;
  font: 400 1.2rem/1 var(--f-label); text-transform: uppercase; letter-spacing: .04em; color: #fff3c4;
  background: linear-gradient(#3fb94a, #16701f); border: 3px solid var(--gold);
  box-shadow: 0 0 0 2px #2a0c0f, 0 0 0 4px var(--gold-lo);
}
.mock-foot { margin-top: 14px; text-align: center; font-size: .8rem; color: #f2a7a0; }
.mock-foot u { color: #fff; }
.mock-n {
  position: absolute; left: -38px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  font: 400 .85rem/1 var(--f-label); color: var(--bg-0);
  background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 60%, var(--gold-lo));
  box-shadow: 0 0 0 2px var(--bg-0);
}
.mock-tabs .mock-n { top: 22px; }
.mock-link .mock-n { left: -30px; }
@media (max-width: 520px) { .mock-n { display: none; } }

.mock-title-2 { max-width: 82%; margin-inline: auto; line-height: 1.15; }
.mock-foot-top { margin: -6px 0 14px; }
.mock-option {
  position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 12px 14px;
  border-radius: 12px; border: 2px solid #6e2a20; background: #4f1c1d; color: #f2a7a0; font-weight: 700; font-size: .9rem;
}
.mock-option small { display: block; font-size: .75rem; color: #fff3dc; }
.mock-option.is-active { border-color: #c4524a; background: linear-gradient(#b8403a, #8e2b28); color: #fff; }
.mock-option > span:not(.mock-n) { flex: 1; }
.mock-radio {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid #8e3a2c; background: #3a1316;
}
.is-active > .mock-radio { border-color: var(--gold); background: radial-gradient(circle, var(--gold-hi) 0 40%, #7a5a1c 45%); }
.mock-btn { margin-top: 6px; }
.mock-bar {
  position: relative; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 10px 12px;
  border-radius: 12px; border: 2px solid #c4524a; background: linear-gradient(#b8403a, #8e2b28);
  color: #fff; font-weight: 800; font-size: .85rem;
}
.mock-bar small { display: block; font-size: .72rem; font-weight: 700; }
.mock-bar > span:not(.mock-n) { flex: 1; }
.mock-bar b { color: var(--gold-hi); font-size: 1.2rem; line-height: 0; }
.mock-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mock-nav i {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-style: normal; font-weight: 800;
  background: #6e2a20; border: 2px solid var(--gold); color: var(--gold-hi);
}
.mock-nav .mock-title { margin: 0; }
.mock-nav em { font-style: normal; color: #a86b6b; }
.mock-check { position: relative; display: flex; gap: 10px; margin-bottom: 12px; font-size: .74rem; line-height: 1.4; color: #f2a7a0; }
.mock-check > i {
  flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; font-style: normal; font-weight: 800;
  border: 2px solid var(--gold); background: linear-gradient(#3fb94a, #16701f); color: #fff;
}
.mock-check u { color: #fff; }
.mock-select::after { content: "⌄"; margin-left: auto; color: #5a2a1c; font-size: 1.1rem; line-height: 0; }
.mock-filled, .mock-select { color: #3a1316; }
.mock-gender { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.mock-gender > span {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px;
  border: 2px solid var(--gold); background: linear-gradient(#ffe9c9, #f6d3a6); color: #3a1316; font-weight: 700; font-size: .88rem;
}
.mock-divider {
  display: flex; align-items: center; gap: 10px; margin: 4px 0 10px; font-size: .72rem; color: #a86b5a;
}
.mock-divider::before, .mock-divider::after { content: ""; flex: 1; height: 1px; background: #6e2a20; }
.split-mock { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); margin-bottom: 8px; }
.split-mock .login-mock { width: 100%; }

.legend { counter-reset: lg; list-style: none; padding: 0; max-width: 72ch; margin: 0 0 16px; }
.legend li { counter-increment: lg; position: relative; padding-left: 38px; margin: 10px 0; }
.legend li::before {
  content: counter(lg); position: absolute; left: 0; top: 1px;
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font: 400 .9rem/1 var(--f-label); color: var(--bg-0);
  background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 60%, var(--gold-lo));
}

/* ---------- Offer cards (promotions hub) ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.offer-card {
  display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r-m);
  background: linear-gradient(170deg, var(--bg-3), var(--bg-2));
  border: 2px solid var(--edge); text-decoration: none; color: var(--cream);
}
.offer-card:hover { border-color: var(--gold); }
.offer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 4px; }
.offer-card h3 { margin: 0; font: 400 1.15rem/1.2 var(--f-label); letter-spacing: .02em; color: var(--gold-hi); }
.offer-card .offer-value { margin: 0; font-weight: 800; color: #fff3dc; }
.offer-card p { margin: 0; font-size: .9rem; color: var(--muted); }
.offer-card .go { margin-top: auto; padding-top: 6px; font-weight: 800; font-size: .88rem; color: var(--gold); }

/* ---------- Related guides ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.guide-card {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: start;
  padding: 14px 16px; border-radius: var(--r-m); text-decoration: none; color: var(--cream);
  background: var(--bg-2); border: 2px solid var(--edge);
}
.guide-card:hover { border-color: var(--gold); }
.guide-card .ico { grid-row: span 2; width: 40px; height: 40px; }
.guide-card strong { font: 400 1.05rem/1.2 var(--f-label); letter-spacing: .02em; color: var(--gold-hi); }
.guide-card span { font-size: .86rem; color: var(--muted); }

/* ---------- Contact + legal pages ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.panel-title { margin: 0 0 8px; font: 400 1.2rem/1.2 var(--f-label); color: var(--gold-hi); letter-spacing: .02em; }
.facts-tight { margin: 12px 0; grid-template-columns: 1fr; }
.doc > ol { max-width: 72ch; padding-left: 1.4em; margin: 0 0 16px; }
.todo {
  padding: 1px 6px; border-radius: 6px; font-weight: 700;
  background: #ffe49a; color: #2a0c0f; box-shadow: 0 0 0 2px #c42d7a;
}

/* ---------- Provider list ---------- */
.provider-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 6px 18px;
}
.provider-list li {
  display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 6px 0;
  border-bottom: 1px solid rgba(138,90,46,.35); font-size: .93rem;
}
.provider-list span { color: var(--dim); font-variant-numeric: tabular-nums; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-0); border-top: 1px solid var(--gold-line); padding: 36px clamp(16px, 3vw, 36px) 28px; margin-top: 32px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 28px; }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h2 { margin: 0 0 10px; font: 400 1rem/1.2 var(--f-label); letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin: 6px 0; }
.foot-grid a { color: var(--muted); text-decoration: none; font-size: .93rem; }
.foot-grid a:hover { color: var(--gold-hi); text-decoration: underline; }
.foot-brand img { height: 52px; width: auto; margin-bottom: 12px; }
.foot-brand p { margin: 0; font-size: .88rem; color: var(--dim); max-width: 38ch; }
.foot-legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(138,90,46,.45); font-size: .82rem; color: var(--dim); }
.foot-legal p { margin: 0 0 6px; }

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