/* VOX casino PL: wspólny styl wydawnictwocesar.pl
   Kolory z brand data (Tension, brand_data_geo 10948): tło #0D0E15, akcent #F35B1A.
   Mobile first: podstawowe reguły działają od 360 px, od 800 px dochodzi układ desktopowy. */

:root {
  --bg: #0D0E15;
  --bg-deep: #090A10;
  --surface: #171925;
  --surface-2: #1F2231;
  --line: #2C3044;
  --text: #F2F3F7;
  --muted: #B9BDCB;
  --accent: #F35B1A;
  --accent-hover: #FF7340;
  --on-accent: #0D0E15;
  --radius: 12px;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-wrap: break-word;
}

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

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

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

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 {
  font-size: 1.9rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

ol,
ul {
  margin: 0 0 1em;
  padding-left: 1.3em;
}

li {
  margin-bottom: 0.4em;
}

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

.section {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.hero {
  padding: 32px 0 40px;
  background: radial-gradient(circle at 85% 15%, rgba(243, 91, 26, 0.2), transparent 55%), var(--bg);
}

.hero-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.hero-media img {
  border-radius: var(--radius);
}

.age-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
}

/* Przyciski */

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--text);
}

.btn-sub {
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.9;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 12px;
}

.cta-block {
  margin-top: 8px;
}

/* Figury i tabele */

figure {
  margin: 0 0 1.5em;
}

.media img {
  border-radius: var(--radius);
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.2em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 280px;
  border-collapse: collapse;
}

caption {
  caption-side: top;
  text-align: left;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

th,
td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

th {
  background: var(--surface-2);
  font-weight: 700;
}

/* Karty: plusy i minusy */

.pros-cons {
  display: grid;
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.card h3 {
  margin-bottom: 0.4em;
}

.card ul {
  margin-bottom: 0;
}

/* FAQ na details (działa bez JS) */

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary h3 {
  display: inline;
  margin: 0;
  font-size: 1.05rem;
}

.faq details p {
  margin: 12px 0 0;
}

/* Nagłówek */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 14, 21, 0.97);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
}

.brand img {
  height: 40px;
  width: auto;
}

.nav-toggle {
  margin-left: auto;
  min-height: 44px;
  padding: 0 14px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  padding: 8px 16px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  display: flex;
}

/* Bez JS menu jest widoczne od razu; z JS na telefonie chowa je przełącznik */
.js .site-nav:not(.is-open) {
  display: none;
}

.site-nav a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.site-nav a:hover {
  color: var(--accent);
}

.nav-mobile-cta {
  margin-top: 12px;
  border-bottom: 0 !important;
  text-align: center;
  color: var(--on-accent) !important;
  background: var(--accent);
  border-radius: 999px;
  font-weight: 700;
}

.header-cta {
  display: none;
}

/* Stopka */

.site-footer {
  padding: 40px 0 32px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-cols {
  display: grid;
  gap: 28px;
}

.footer-title {
  margin: 0 0 10px;
  color: var(--text);
  font-weight: 700;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 6px;
}

.footer-list a,
.footer-about a {
  color: var(--text);
}

.footer-list a:hover,
.footer-about a:hover {
  color: var(--accent);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  margin-right: 8px;
  padding: 0 6px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--text);
  font-weight: 800;
  font-size: 0.85rem;
}

.footer-legal {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

.footer-bottom {
  margin: 0;
  font-size: 0.85rem;
}

.badge-18 {
  width: 112px;
  height: 112px;
}

/* Banery promocyjne: obraz w tle, tekst nakładany przez HTML */

.promo-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 230px;
  margin: 0 0 1.5em;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-deep);
}

.promo-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(13, 14, 21, 0.94) 0%, rgba(13, 14, 21, 0.78) 55%, rgba(13, 14, 21, 0.3) 100%);
}

.promo-body {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 22px 20px;
}

.promo-kicker {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-title {
  margin: 0 0 6px;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
}

.promo-text {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Szybkie fakty i spis treści */

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 14px;
}

.fact {
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fact strong {
  display: block;
  color: var(--accent);
  font-size: 1.15rem;
  line-height: 1.25;
}

.fact span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.3;
}

.toc {
  padding: 28px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}

.toc h2 {
  font-size: 1.15rem;
}

.toc ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc li {
  margin: 0;
}

.toc a {
  display: block;
  padding: 6px 0;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.toc a:hover {
  color: var(--accent);
}

/* Kroki (how-to), uwagi, listy */

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
}

.steps li {
  position: relative;
  counter-increment: step;
  margin-bottom: 10px;
  padding: 12px 14px 12px 58px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 10px;
  left: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 50%;
  font-weight: 800;
}

.note {
  margin: 0 0 1.2em;
  padding: 12px 16px;
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1.2em;
  padding: 0;
  list-style: none;
}

.chips li {
  margin: 0;
  padding: 6px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
}

.strip img {
  width: 100%;
  border-radius: var(--radius);
}

.section h3 {
  margin-top: 1.6em;
}

.table-wide table {
  min-width: 720px;
}

/* Desktop: od 800 px */

@media (min-width: 800px) {
  body {
    font-size: 18px;
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 56px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
  }

  .pros-cons {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: none;
  }

  .promo-banner {
    min-height: 260px;
  }

  .promo-banner::before {
    background: linear-gradient(90deg, rgba(13, 14, 21, 0.92) 0%, rgba(13, 14, 21, 0.6) 45%, rgba(13, 14, 21, 0) 70%);
  }

  .promo-body {
    padding: 28px 36px;
  }

  .promo-title {
    font-size: 1.9rem;
  }

  .facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .toc ul {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-nav,
  .js .site-nav,
  .js .site-nav:not(.is-open) {
    display: flex;
    flex-direction: row;
    white-space: nowrap;
    gap: 14px;
    position: static;
    margin-left: auto;
    padding: 0;
    background: none;
    border: 0;
  }

  .site-nav a {
    padding: 8px 0;
    border-bottom: 0;
    font-size: 0.95rem;
  }

  .site-nav .nav-mobile-cta {
    display: none;
  }

  .header-cta {
    display: inline-flex;
    margin-left: 8px;
    min-height: 44px;
    padding: 8px 18px;
    font-size: 0.95rem;
  }

  .footer-cols {
    grid-template-columns: 1.3fr 0.8fr 1.1fr 1.3fr;
    gap: 32px;
  }
}


/* Game Center */
.game-center { padding: 20px 0 8px; background: var(--bg-deep); border-bottom: 1px solid var(--line); }
.game-center h2 { margin: 0 0 14px; font-size: 1.3rem; }
.gc-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 14px; scrollbar-width: thin; }
.gc-tab { flex: 0 0 auto; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font: inherit; font-size: .92rem; cursor: pointer; }
.gc-tab:hover { border-color: var(--accent); }
.gc-tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 700; }
.gc-panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.js .gc-panel { display: none; }
.js .gc-panel.is-active { display: block; }
.gc-panel + .gc-panel { margin-top: 18px; }
.js .gc-panel + .gc-panel { margin-top: 0; }
.gc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gc-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none; transition: transform .15s, border-color .15s; }
.gc-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.gc-card img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--surface-2); }
.gc-name { padding: 8px 10px 0; font-size: .9rem; font-weight: 600; line-height: 1.25; }
.gc-prov { padding: 2px 10px 10px; font-size: .78rem; color: var(--muted); }
.gc-note { margin: 14px 0 12px; font-size: .8rem; color: var(--muted); }
@media (min-width: 560px) { .gc-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 800px) { .gc-grid { grid-template-columns: repeat(8, 1fr); } .game-center h2 { font-size: 1.5rem; } .gc-name { font-size: .82rem; } }

/* Footer: help logos */
.footer-list .help-item { display: flex; align-items: center; gap: 12px; margin: 10px 0; }
.help-logo { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 120px; min-height: 54px; padding: 8px; border-radius: 8px; background: #2A2E44; }
.help-logo.on-light { background: #fff; }
.help-logo img { display: block; max-width: 100%; height: auto; max-height: 56px; width: auto; }


/* Przycisk powrotu na górę */
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 4px 14px rgba(0,0,0,.45); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s, background .15s; }
.to-top[hidden] { display: none; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-hover); }
.to-top:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (min-width: 800px) { .to-top { right: 24px; bottom: 24px; width: 50px; height: 50px; } }
