/* ==========================================================================
   Aphrodite Casino — szablon strony (NL)
   Design system: głęboka czerń + beżowo-perłowy akcent.
   TODO: podmień placeholder domeny/e-mail oraz obrazy w /images po dostarczeniu materiałów.
   ========================================================================== */

:root {
  /* Kolory */
  --bg-page: #0d0c0a;         /* głęboka, ciepła czerń */
  --bg-elevated: #1a1713;     /* sidebar / header */
  --bg-card: rgba(255, 255, 255, 0.045);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);

  --accent: #d9c6a0;          /* beżowo-perłowy */
  --accent-soft: rgba(217, 198, 160, 0.14);
  --accent-ink: #221a10;      /* tekst na beżowym tle */
  --accent-2: #c7a876;        /* głębszy antyczny złoto-brąz, drugi akcent */
  --warn: #d98a6c;            /* ciepły akcent do "wad" w tabeli plusów/minusów */
  --warn-soft: rgba(217, 138, 108, 0.14);

  --text: #f5f0e6;
  --text-muted: rgba(245, 240, 230, 0.7);
  --text-faint: rgba(245, 240, 230, 0.46);

  --radius-pill: 999px;
  --radius-card: 14px;
  --radius-lg: 22px;
  --sidebar-w: 252px;
  --container: 1160px;
  --gap: 24px;

  --font: 'Space Grotesk', -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-pill);
  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: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { box-shadow: 0 8px 26px rgba(215, 242, 60, 0.3); }

.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%; }

/* ---------- 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);
}
.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(13, 12, 10, 0.05) 0%, rgba(13, 12, 10, 0.65) 55%, rgba(13, 12, 10, 0.92) 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: var(--bg-elevated);
  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; }
.hero-box-text { padding: 22px 28px; max-width: 600px; }

.hero h1 { font-size: 40px; line-height: 1.14; font-weight: 700; 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: #17130f;
  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(13, 12, 10, 0) 42%, rgba(13, 12, 10, 0.94) 100%);
  z-index: 1;
}
.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; }
.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, #221c15, #0d0c0a 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);
}

/* CTA banner */
.cta-banner {
  margin: 40px 0;
  padding: 30px 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--accent-soft), transparent 70%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  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-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 { padding: 22px; flex-direction: column; align-items: stretch; margin: 30px 0; }
  .cta-banner .btn { width: 100%; }

  .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; }
}
