@charset "UTF-8";

/* =========================================================
   CASINO VOX — arkusz w stylistyce kasynowej
   Ciemne tło, neonowy akcent, złote detale.
   Układ pozostaje redakcyjny: jedna kolumna tekstu.
   ========================================================= */

:root {
  --night: #0c0918;
  --night-2: #120d24;
  --surface: #171030;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);

  --text: #efeaf9;
  --text-soft: #a99fc6;
  --text-dim: #7d7399;

  --gold: #ffcf5c;
  --gold-deep: #e8a63a;
  --pink: #ff4d9d;
  --violet: #8b5cf6;
  --mint: #35e0b0;

  --grad: linear-gradient(100deg, #ffd76a 0%, #ffab4a 38%, #ff4d9d 72%, #8b5cf6 100%);
  --grad-soft: linear-gradient(100deg, #ffcf5c, #ff4d9d);

  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --measure: 68ch;
  --gutter: clamp(1.1rem, 4.2vw, 3.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  background: var(--night);
}

body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 18% -8%, rgba(139, 92, 246, 0.28), transparent 62%),
    radial-gradient(760px 460px at 92% 4%, rgba(255, 77, 157, 0.16), transparent 60%),
    linear-gradient(180deg, #0f0a1f 0%, var(--night) 46%, #0a0714 100%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(1rem, 0.28vw + 0.95rem, 1.06rem);
  line-height: 1.76;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(255, 77, 157, 0.35); color: #fff; }

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

a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(255, 207, 92, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.16s ease, text-decoration-color 0.16s ease;
}
a:hover { color: #fff; text-decoration-color: var(--pink); }

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

/* ---------- nagłówek ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(12, 9, 24, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 40px -28px rgba(0, 0, 0, 0.9);
}

.head-in {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.8rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
}

.brand {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
}
.brand span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand:hover span { filter: brightness(1.15); }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem clamp(0.6rem, 1.4vw, 1rem);
  justify-content: flex-end;
}

.nav a {
  font-family: var(--display);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--text-soft);
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}
.nav a[aria-current="page"] {
  color: #150f27;
  background: var(--grad-soft);
  border-color: transparent;
  font-weight: 600;
}

/* ---------- obraz otwierający ---------- */

.hero {
  margin: 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(12, 9, 24, 0.92));
  pointer-events: none;
}

.hero img {
  display: block;
  width: 100%;
  height: clamp(240px, 40vw, 540px);
  object-fit: cover;
  filter: saturate(1.05) contrast(1.06);
}

.hero--tall img { height: clamp(300px, 56vw, 640px); }

.hero figcaption {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  max-width: 1280px;
  margin: -2.6rem auto 0;
  padding: 0 var(--gutter) 1rem;
}

/* ---------- kolumna ---------- */

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.masthead { padding: clamp(1.8rem, 4.5vw, 3.4rem) 0 clamp(1.2rem, 3vw, 2rem); }

.eyebrow {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
.eyebrow i { font-style: normal; color: var(--text-dim); padding: 0 0.1rem; }

h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.15rem, 7.4vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  max-width: 18ch;
  text-wrap: balance;
  color: #fff;
}

.standfirst {
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 46ch;
  margin: 0 0 1.6rem;
  text-wrap: pretty;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.3rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 0.73rem;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  max-width: var(--measure);
}
.meta b { font-weight: 600; color: var(--text); }

/* ---------- sekcje ---------- */

.entry {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 0.3rem;
  padding: clamp(1.5rem, 3.4vw, 2.4rem) 0;
  border-top: 1px solid var(--line);
}

.entry .num {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.entry .num::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--grad-soft);
  border-radius: 2px;
}

.entry h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.42rem, 3.1vw, 2rem);
  line-height: 1.14;
  letter-spacing: -0.022em;
  margin: 0 0 0.85rem;
  color: #fff;
  text-wrap: balance;
}

.entry h3 {
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.8rem 0 0.5rem;
}

.entry p { margin: 0 0 1.05rem; max-width: var(--measure); color: var(--text); }
.entry > .body > *:last-child { margin-bottom: 0; }
.entry strong, .entry b { color: #fff; font-weight: 600; }

.entry .lead::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 3.2em;
  font-weight: 700;
  line-height: 0.84;
  padding: 0.06em 0.1em 0 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.entry ul,
.entry ol { margin: 0 0 1.15rem; padding-left: 1.2rem; max-width: var(--measure); }
.entry li { margin-bottom: 0.45rem; padding-left: 0.15rem; }
.entry li::marker { color: var(--pink); }
.entry ol li::marker { font-family: var(--display); font-weight: 600; color: var(--gold); }

.pull {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.3vw, 1.42rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: #fff;
  max-width: 34ch;
  margin: 1.9rem 0;
  padding-left: 1rem;
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, #ffcf5c, #ff4d9d) 1;
}

/* ---------- tabele ---------- */

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.4rem;
  max-width: var(--measure);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--body);
  font-size: 0.86rem;
  line-height: 1.45;
}

caption {
  caption-side: top;
  text-align: left;
  font-family: var(--display);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-bottom: 0.6rem;
}

th {
  text-align: left;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 1.15rem 0.6rem 0;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

td {
  padding: 0.66rem 1.15rem 0.66rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--text-soft);
}
tbody tr:hover td { background: rgba(255, 255, 255, 0.035); color: var(--text); }

td:last-child, th:last-child { padding-right: 0; }
td.n { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text); }

/* ---------- przyciski ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 0.85rem;
  margin: 1.5rem 0 0.4rem;
}

.actions a {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: #1a1030;
  background: var(--grad-soft);
  padding: 0.66rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px -14px rgba(255, 77, 157, 0.85);
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}
.actions a:hover {
  color: #1a1030;
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 14px 30px -14px rgba(255, 77, 157, 0.95);
}
.actions a::after { content: " →"; }

.actions a + a {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: none;
}
.actions a + a:hover {
  color: #fff;
  border-color: var(--gold);
  background: rgba(255, 207, 92, 0.07);
}

/* ---------- obraz w treści ---------- */

.figure { margin: 1.9rem 0 1.5rem; max-width: var(--measure); }
.figure img {
  display: block;
  width: 100%;
  height: clamp(220px, 34vw, 380px);
  object-fit: cover;
  border-radius: 4px;
}
.figure--portrait img { height: clamp(320px, 62vw, 560px); object-position: 50% 32%; }
.figure figcaption {
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  margin-top: 0.65rem;
}

/* ---------- pytania ---------- */

.faq-q {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 1.6rem 0 0.3rem;
  max-width: var(--measure);
  color: #fff;
}
.faq-q:first-of-type { margin-top: 0.6rem; }

/* ---------- okruch ---------- */

.crumbs {
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-top: 1.1rem;
}
.crumbs a { color: var(--text-dim); text-decoration: none; }
.crumbs a:hover { color: var(--gold); text-decoration: none; }
.crumbs span { color: var(--gold); padding: 0 0.4rem; }

/* ---------- stopka ---------- */

.site-foot {
  margin-top: clamp(2.2rem, 5vw, 4rem);
  border-top: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(23, 16, 48, 0.55), rgba(9, 6, 18, 0.9));
  padding: clamp(1.6rem, 4vw, 2.6rem) 0 clamp(2rem, 4vw, 3rem);
}

.foot-in {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 1.3rem;
}

.foot-brand {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  font-family: var(--display);
  font-size: 0.76rem;
}
.foot-links a {
  color: var(--text-soft);
  text-decoration: none;
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.foot-links a:hover { color: #fff; border-color: var(--gold); text-decoration: none; }

.foot-note {
  font-family: var(--body);
  font-size: 0.76rem;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 64ch;
  margin: 0;
}
.foot-note b { color: var(--text-soft); font-weight: 600; }

.age {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold);
  border: 1px solid var(--gold-deep);
  border-radius: 4px;
  padding: 0.05rem 0.34rem;
  margin-right: 0.5rem;
  vertical-align: 1px;
}

.small {
  font-family: var(--body);
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: var(--measure);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- desktop ---------- */

@media (min-width: 900px) {
  .entry {
    grid-template-columns: 5rem minmax(0, 1fr);
    column-gap: clamp(1.4rem, 3.6vw, 2.8rem);
  }
  .entry .num { padding-top: 0.75rem; }
  .entry > .body { grid-column: 2; }
}

/* ---------- małe ekrany ---------- */

@media (max-width: 600px) {
  .head-in {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.7rem var(--gutter) 0.65rem;
  }
  .brand { font-size: 0.92rem; }
  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.4rem;
    scrollbar-width: none;
    margin: 0 -2px;
    padding: 0 2px;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 0.7rem; padding: 0.36rem 0.6rem; white-space: nowrap; }

  .hero img { height: clamp(210px, 54vw, 320px); }
  .hero--tall img { height: clamp(330px, 88vw, 440px); }
  .hero figcaption { margin-top: -2.1rem; }

  h1 { font-size: clamp(2rem, 10.4vw, 2.9rem); letter-spacing: -0.03em; }
  .standfirst { font-size: 1rem; }

  .entry .lead::first-letter { font-size: 2.8em; padding-top: 0.1em; }
  .entry h3 { margin-top: 1.5rem; }
  .faq-q { margin-top: 1.65rem; }

  td, th { padding-right: 0.8rem; }
  table { font-size: 0.82rem; }

  .actions a { font-size: 0.76rem; padding: 0.6rem 1rem; }
}

/* ---------- szerokie tabele ---------- */

.table-wrap.wide table { min-width: 520px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .actions a { transition: none; }
}
