/* ==========================================================================
   JungliWin Casino — szablon strony (NL)
   Design system: głęboka, ciepła czerń dżungli + pomarańczowo-czerwony akcent.
   ========================================================================== */

:root {
  /* Kolory */
  --bg-page: #0b0705;         /* niemal czarny, ciepły odcień */
  --bg-elevated: #1a100b;     /* pasek górny / stopka */
  --bg-card: rgba(255, 255, 255, 0.045);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 158, 94, 0.14);

  --accent: #ff7a1f;          /* pomarańcz — główny akcent marki */
  --accent-soft: rgba(255, 122, 31, 0.16);
  --accent-ink: #1a0d05;      /* tekst na pomarańczowym tle */
  --accent-2: #e2361f;        /* czerwień — drugi akcent */
  --warn: #ff5245;            /* czerwono-pomarańczowy do "wad" w tabeli plusów/minusów */
  --warn-soft: rgba(255, 82, 69, 0.14);

  --text: #f7ede4;
  --text-muted: rgba(247, 237, 228, 0.7);
  --text-faint: rgba(247, 237, 228, 0.46);

  --radius-pill: 999px;
  --radius-btn: 3px;          /* przyciski z ciętymi rogami — patrz .btn clip-path */
  --radius-card: 8px;
  --radius-lg: 10px;
  --sidebar-w: 252px;
  --container: 1160px;
  --gap: 24px;

  --font: 'Manrope', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; width: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-btn);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
}
.btn-primary:hover { box-shadow: 0 8px 26px rgba(255, 122, 31, 0.35); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.11); }

.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Efekty przycisków CTA ---------- */
.btn-outline:hover { box-shadow: 0 0 0 3px var(--accent-soft); }

.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: translateX(0) skewX(-20deg);
  animation: btn-shine-sweep 3.4s ease-in-out infinite;
  pointer-events: none;
  will-change: transform;
}
@keyframes btn-shine-sweep {
  0% { transform: translateX(0) skewX(-20deg); }
  38% { transform: translateX(460%) skewX(-20deg); }
  100% { transform: translateX(460%) skewX(-20deg); }
}

.btn-pulse { animation: btn-pulse-glow 2.6s ease-in-out infinite; }
@keyframes btn-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 31, 0.55), 0 8px 26px rgba(0, 0, 0, 0.35); }
  50% { box-shadow: 0 0 0 9px rgba(255, 122, 31, 0), 0 8px 30px rgba(255, 122, 31, 0.5); }
}

.btn-outline-breathe { animation: btn-outline-breathe 3.2s ease-in-out infinite; }
@keyframes btn-outline-breathe {
  0%, 100% { border-color: rgba(255, 255, 255, 0.22); box-shadow: 0 0 0 0 rgba(255, 122, 31, 0); }
  50% { border-color: var(--accent); box-shadow: 0 0 10px 1px rgba(255, 122, 31, 0.35); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-shine::after { animation: none; }
  .btn-pulse { animation: none; }
  .btn-outline-breathe { animation: none; }
}

/* ---------- Górny pasek ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
  padding: 0 20px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  box-shadow: inset 0 -2px 0 0 rgba(255, 122, 31, 0.35);
}
.topbar .brand { display: flex; align-items: center; }
.topbar .brand img { height: 32px; width: auto; display: block; }
.topbar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 44px 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 7, 5, 0.08) 0%, rgba(11, 7, 5, 0.68) 55%, rgba(11, 7, 5, 0.94) 100%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.hero-box {
  background: rgba(26, 16, 11, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.hero-box-title { padding: 22px 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; border-left: 3px solid var(--accent); }
.hero-box-text { padding: 22px 28px; max-width: 600px; }

.hero h1 { font-size: 40px; line-height: 1.14; font-weight: 800; margin: 0; }
.hero h1 .accent { color: var(--accent); }
.hero p { font-size: 16px; color: var(--text-muted); margin: 0 0 20px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Slots slider ---------- */
.slots-slider { padding: 8px 0 48px; }
.slots-slider h2 { font-size: 24px; margin: 0 0 18px; }
.slider-wrap { position: relative; }
.slider-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.slider-viewport::-webkit-scrollbar { display: none; }
.slider-track { display: flex; gap: 14px; padding: 2px 2px 6px; }

.slot-card {
  position: relative;
  flex: 0 0 178px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  scroll-snap-align: start;
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
}
.slot-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.slot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 7, 5, 0) 42%, rgba(11, 7, 5, 0.94) 100%);
  z-index: 1;
}
.slot-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 3;
}
.slot-card .slot-name { position: relative; z-index: 2; font-weight: 700; font-size: 14.5px; margin: 0 0 10px; color: var(--text); }
.slot-card .btn { position: relative; z-index: 2; width: 100%; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
}
.slider-arrow svg { width: 17px; height: 17px; }
.slider-arrow:hover { border-color: var(--accent); color: var(--accent); }
.slider-arrow:disabled { opacity: 0.35; pointer-events: none; }
.slider-prev { left: -6px; }
.slider-next { right: -6px; }

/* ---------- Artykuł / treść ---------- */
.content-section { padding: 8px 0 20px; }
.article h2 { font-size: 27px; margin: 46px 0 16px; scroll-margin-top: 84px; padding-left: 14px; border-left: 3px solid var(--accent); }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 19px; margin: 28px 0 12px; scroll-margin-top: 84px; }
.article p { color: var(--text-muted); margin: 0 0 16px; }

.article ul.bullet { margin: 0 0 18px; display: flex; flex-direction: column; gap: 9px; }
.article ul.bullet li { position: relative; padding-left: 24px; color: var(--text-muted); }
.article ul.bullet li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.article ol.steps { margin: 0 0 18px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.article ol.steps li { color: var(--text-muted); }
.article ol.steps li::marker { color: var(--accent); font-weight: 700; }

.checklist { margin: 0 0 18px; display: grid; gap: 10px; }
.checklist li {
  position: relative;
  padding: 12px 16px 12px 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 14.5px;
}
.checklist li::before {
  content: "✓";
  position: absolute; left: 16px; top: 11px;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px; font-weight: 700;
}

/* Blok z obrazem (Bonusy, Aplikacja) */
.feature-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  align-items: center;
  margin: 4px 0 24px;
}
.feature-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #241407, #0b0705 70%);
  aspect-ratio: 4 / 3;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-text p:last-child { margin-bottom: 0; }

/* Tabele */
.table-wrap {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  margin: 0 0 24px;
}
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th, td { text-align: left; padding: 13px 16px; font-size: 14px; border-bottom: 1px solid var(--border); }
th { color: var(--accent); font-weight: 600; text-transform: uppercase; font-size: 11.5px; letter-spacing: 0.4px; }
td { color: var(--text-muted); }
tr:last-child td { border-bottom: none; }

/* Tabela zalet i wad */
table.pros-cons th.col-pros { color: var(--accent); }
table.pros-cons th.col-cons { color: var(--warn); }
table.pros-cons td { position: relative; padding-left: 46px; }
table.pros-cons td::before {
  position: absolute; left: 16px; top: 13px;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 12px; font-weight: 700;
}
table.pros-cons td:first-child { border-right: 1px solid var(--border); }
table.pros-cons td:first-child::before { content: "✓"; background: var(--accent-soft); color: var(--accent); }
table.pros-cons td:last-child::before { content: "–"; background: var(--warn-soft); color: var(--warn); }
table.pros-cons td:empty::before { content: none; }

/* Metody płatności */
.pay-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.pay-chip {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Dostawcy */
.provider-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.provider-chip {
  padding: 9px 16px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text);
}

/* Opinie graczy */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0 0 24px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
  flex-shrink: 0;
}
.review-name { margin: 0; font-weight: 600; font-size: 14.5px; }
.review-stars { color: var(--accent); font-size: 12px; letter-spacing: 1px; }
.review-card p:last-child { color: var(--text-muted); font-size: 14.5px; margin: 0; }

/* CTA banner */
.cta-banner {
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-banner h3 { margin: 0 0 6px; font-size: 19px; }
.cta-banner p { margin: 0; color: var(--text-muted); }

/* Info-tabela (bezpieczeństwo) */
.info-table td:first-child { color: var(--text-faint); width: 40%; }

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-card);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 19px; color: var(--accent); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-body { padding: 0 18px 16px; color: var(--text-muted); }

/* ---------- Stopka ---------- */
.site-footer { background: var(--bg-elevated); padding: 44px 0 22px; border-top: 1px solid var(--border); margin-top: 24px; }
.footer-top { padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.footer-logo { display: flex; align-items: center; margin-bottom: 14px; }
.footer-logo img { height: 30px; width: auto; display: block; }
.footer-top p { color: var(--text-muted); font-size: 13.5px; max-width: 380px; }
.footer-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 18px; }
.footer-badges img { height: 28px; width: auto; display: block; opacity: 0.75; transition: opacity 0.15s ease; }
.footer-badges a:hover img { opacity: 1; }
.footer-bottom { padding-top: 20px; font-size: 12.5px; color: var(--text-faint); display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; }
.footer-bottom .disclaimer { max-width: 640px; }

/* ---------- Adaptacja ---------- */
@media (max-width: 1100px) {
  .hero { min-height: 520px; }
  .feature-block { grid-template-columns: 1fr; }
  .feature-media { max-width: 420px; margin: 0 auto; width: 100%; }
}

@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .topbar { padding: 0 14px; gap: 10px; }

  .hero { min-height: 460px; padding: 24px 0; }
  .hero h1 { font-size: 27px; }
  .hero p { font-size: 15px; }
  .hero-box-title, .hero-box-text { padding: 18px 20px; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .slots-slider h2 { font-size: 20px; }
  .slot-card { flex-basis: 138px; }

  .article h2 { font-size: 21px; margin: 34px 0 12px; }
  .article h3 { font-size: 17px; }

  .cta-banner { flex-direction: column; align-items: stretch; margin: 24px 0; }
  .cta-banner .btn { width: 100%; }

  .review-grid { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; }
}

/* Bardzo wąskie ekrany: pasek górny ma za mało miejsca na 2 przyciski */
@media (max-width: 420px) {
  .hide-xs { display: none; }
}
