:root {
  --bg: #12061f;
  --bg-2: #0c0418;
  --header: #2a1468;
  --header-2: #3d1f8a;
  --sidebar: #140824;
  --surface: #1c0f3a;
  --surface-2: #26144c;
  --card: #1a0e36;
  --yellow: #ffd133;
  --yellow-2: #ffe36a;
  --gold: #ffc44d;
  --magenta: #ff2d9b;
  --pink: #ed008c;
  --purple: #7b4dff;
  --purple-2: #9b6dff;
  --cyan: #4de8ff;
  --text: #ffffff;
  --muted: #c9b8e8;
  --muted-2: #9a86c4;
  --line: rgba(155, 109, 255, 0.28);
  --glow-y: rgba(255, 209, 51, 0.45);
  --glow-m: rgba(255, 45, 155, 0.35);
  --radius: 16px;
  --header-h: 72px;
  --sidebar-w: 232px;
  --shadow: 0 12px 40px rgba(8, 2, 20, 0.45);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--bg);
  color: var(--muted);
  line-height: 1.62;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(123, 77, 255, 0.28), transparent 58%),
    radial-gradient(ellipse 40% 40% at 100% 20%, rgba(255, 45, 155, 0.12), transparent 50%),
    radial-gradient(ellipse 40% 35% at 0% 80%, rgba(255, 209, 51, 0.08), transparent 48%);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 200;
  background: var(--yellow);
  color: #1a0a00;
  padding: 8px 12px;
  border-radius: 8px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  background: linear-gradient(90deg, #24105c 0%, #3a1a86 45%, #2c146e 100%);
  border-bottom: 1px solid rgba(255, 209, 51, 0.18);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 0 10px var(--glow-m));
}

.nav-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}
.nav-top a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s;
}
.nav-top a:hover,
.nav-top a.is-active {
  background: rgba(255, 255, 255, 0.1);
}

.ticker {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 209, 51, 0.18), rgba(255, 45, 155, 0.16));
  border: 1px solid rgba(255, 209, 51, 0.28);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.ticker strong { color: var(--yellow); }

.header-cta { display: flex; gap: 8px; flex-shrink: 0; }

.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 0 6px;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

.btn-yellow {
  background: linear-gradient(180deg, var(--yellow-2), var(--yellow));
  color: #1a1200;
  box-shadow: 0 6px 22px var(--glow-y);
}
.btn-yellow:hover { filter: brightness(1.06); }

.btn-xl {
  width: 100%;
  padding: 16px 24px;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Shell */
.shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: calc(100vh - var(--header-h));
}

.sidebar {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  background: linear-gradient(180deg, #16092c 0%, #10061f 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 12px 28px;
}

.side-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 8px 12px 6px;
}

.side-nav { display: flex; flex-direction: column; gap: 4px; }

.side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.side-nav a svg { flex-shrink: 0; opacity: 0.9; }
.side-nav a:hover,
.side-nav a.is-active {
  background: linear-gradient(90deg, rgba(123, 77, 255, 0.28), rgba(255, 45, 155, 0.12));
  color: #fff;
}

.side-app {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(160deg, #3a1570, #1a0838);
  border: 1px solid rgba(255, 209, 51, 0.22);
  text-align: left;
}
.side-app p {
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 6px;
}
.side-app span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.main {
  min-width: 0;
  padding: 22px 28px 48px;
  max-width: 1180px;
}

/* Hero */
.hero-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 148px;
  background: #1a0c3a;
  border: 1px solid var(--line);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  color: #fff;
}
.mini-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}
.mini-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(12, 4, 24, 0.92));
}
.mini-card span, .mini-card strong { position: relative; z-index: 1; }
.mini-card span {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
}
.mini-card strong { font-size: 18px; }

.bonus-banner {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 308px;
  background: #1a0c3a url("../images/casino-hero.webp") center/cover no-repeat;
  border: 1px solid rgba(255, 209, 51, 0.2);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  padding: 28px 32px;
}
.bonus-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 6, 36, 0.82) 0%, rgba(16, 6, 36, 0.35) 55%, transparent 100%);
}
.bonus-copy { position: relative; z-index: 1; max-width: 460px; }
.bonus-copy .kicker {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 209, 51, 0.16);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.banner-title {
  color: #fff;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 8px;
}
.bonus-copy p { color: var(--muted); margin-bottom: 16px; max-width: 38ch; }
.amount-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.amount-box, .cur-box {
  background: rgba(8, 2, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 14px;
  color: #fff;
  font-weight: 800;
}
.cur-box { color: var(--yellow); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 4px 0 22px;
}
.stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
}
.stat b {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(180deg, #fff, var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px;
  background: rgba(18, 8, 40, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.pills a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.pills a:hover, .pills a.is-on {
  background: linear-gradient(90deg, var(--purple), var(--magenta));
  color: #fff;
}

/* Games */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 14px;
}
.section-head h2,
.section-title {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}
.section-head span { color: var(--muted-2); font-size: 13px; }

.games {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.game {
  position: relative;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.game::after {
  content: "Graj";
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%) scale(0.8);
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: #1a1200;
  font-weight: 800;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
}
.game:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 209, 51, 0.45);
  box-shadow: 0 12px 28px rgba(255, 45, 155, 0.18);
}
.game:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.game img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: filter 0.18s;
}
.game:hover img { filter: brightness(0.45); }
.game::after { z-index: 2; }
.game figcaption {
  padding: 10px 10px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}
.game small {
  display: block;
  font-weight: 500;
  color: var(--muted-2);
  font-size: 11px;
  margin-top: 2px;
}

/* Article */
.article-hero {
  margin: 8px 0 18px;
}
.article-hero h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
}
.article-hero h1 span {
  background: linear-gradient(90deg, var(--yellow), var(--magenta), var(--purple-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead {
  font-size: 16.5px;
  max-width: 78ch;
  margin-bottom: 10px;
}
.meta-date {
  font-size: 12px;
  color: var(--muted-2);
}

.toc {
  background: linear-gradient(160deg, #241350, #170a32);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 18px 0 22px;
}
.toc h2,
.toc-heading {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 10px;
}
.toc ol {
  columns: 2;
  gap: 24px;
  padding-left: 20px;
}
.toc a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.toc a:hover { color: var(--yellow); }
.toc li { margin: 6px 0; }

.block {
  position: relative;
  background: linear-gradient(180deg, rgba(38, 20, 76, 0.72), rgba(22, 10, 48, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 26px 24px 22px;
  margin-bottom: 16px;
  overflow: hidden;
}
.block::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), var(--magenta), transparent);
}
.block h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 12px;
}
.block h3 {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  margin: 18px 0 8px;
}
.block p { margin-bottom: 10px; }
.block ul, .block ol { margin: 8px 0 14px 20px; }
.block li { margin-bottom: 6px; }
.block a.inner { color: var(--yellow); font-weight: 700; text-decoration: none; }
.block a.inner:hover { text-decoration: underline; }

.note {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 209, 51, 0.08);
  border: 1px solid rgba(255, 209, 51, 0.28);
  color: #fff3c2;
  font-size: 14px;
}

.table-scroll { overflow-x: auto; margin: 12px 0 14px; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
}
table.data th, table.data td {
  padding: 11px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 209, 51, 0.12);
}
table.data th {
  color: #fff;
  background: rgba(255, 209, 51, 0.12);
  font-weight: 800;
}
table.data tr:hover td { background: rgba(123, 77, 255, 0.08); }

.steps {
  counter-reset: step;
  list-style: none;
  margin-left: 0 !important;
}
.steps li {
  position: relative;
  padding: 10px 12px 10px 52px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 8px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  color: #1a1200;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.pay-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  padding: 16px;
  margin: 12px 0;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 14px;
  border: 1px solid var(--line);
}
.pay-strip img { height: 28px; width: auto; }

.cta-zone {
  position: relative;
  overflow: hidden;
  text-align: center;
  margin: 18px 0;
  padding: 32px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 209, 51, 0.3);
  background: linear-gradient(160deg, rgba(255, 209, 51, 0.14), rgba(255, 45, 155, 0.1));
}
.cta-zone p { margin-bottom: 16px; color: var(--muted); }
.cta-zone strong { color: var(--yellow); }

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.02);
}
.faq-item summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--yellow); font-weight: 900; }
.faq-item[open] summary::after { content: "−"; }
.faq-body { padding: 0 16px 14px; }

.rg-box {
  margin-top: 8px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(163, 16, 41, 0.14);
  border: 1px solid rgba(255, 90, 110, 0.35);
}
.rg-box h2,
.rg-box .rg-warning-title {
  color: #ff8a9a;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 10px;
}
.rg-box p { font-size: 14.5px; }
.footnote-text {
  font-size: 12px;
  color: var(--muted-2);
}
.btn-follow { margin-top: 8px; }

.site-footer {
  text-align: center;
  padding: 28px 12px 12px;
  font-size: 12px;
  color: var(--muted-2);
}
.site-footer a { color: var(--yellow); }

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 60;
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; }
  .mini-card { min-height: 140px; flex: 1; }
  .games { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .toc ol { columns: 1; }
  .ticker { display: none; }
}

@media (max-width: 860px) {
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav-top { display: none; }
  .shell { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    left: 0;
    top: var(--header-h);
    transform: translateX(-105%);
    z-index: 70;
    width: min(280px, 86vw);
    transition: transform 0.22s ease;
  }
  body.nav-open .sidebar { transform: translateX(0); }
  body.nav-open .overlay { display: block; }
  .main { padding: 16px 14px 40px; }
  .games { grid-template-columns: repeat(2, 1fr); }
  .header { padding: 0 12px; }
  .logo img { height: 38px; }
  .btn { padding: 9px 12px; font-size: 12px; }
  .hero-side { flex-direction: column; }
}

@media (max-width: 520px) {
  .games { grid-template-columns: 1fr 1fr; gap: 8px; }
  .header-cta .btn-ghost { display: none; }
}
