/* ==========================================================================
   Lemon Casino — szablon strony (pl-PL)
   Design system: czarno-grafitowe tło + soczysty cytrynowy akcent.
   TODO: podmień placeholder domeny/e-mail oraz obrazy w /images po dostarczeniu materiałów.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Kolory */
  --bg-page: #0f130e;         /* głęboka grafitowa zieleń, prawie czarna */
  --bg-elevated: #171d14;     /* 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: #d7f23c;          /* soczysta cytryna */
  --accent-soft: rgba(215, 242, 60, 0.14);
  --accent-ink: #14180d;      /* tekst na żółtym tle */
  --accent-2: #6fae4a;        /* głęboka zieleń limonki, drugi akcent */
  --warn: #ff8a65;            /* ciepły akcent do "wad" w tabeli plusów/minusów */
  --warn-soft: rgba(255, 138, 101, 0.14);

  --text: #f6f8ef;
  --text-muted: rgba(246, 248, 239, 0.7);
  --text-faint: rgba(246, 248, 239, 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(15, 19, 14, 0.05) 0%, rgba(15, 19, 14, 0.65) 55%, rgba(15, 19, 14, 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; 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: 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; }

.hero-bonus-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); border: 1px solid var(--accent);
  color: var(--accent); font-weight: 700; font-size: 14px;
  padding: 8px 16px; border-radius: var(--radius-pill);
  margin: 0 0 16px;
  animation: heroPillPulse 2.4s ease-in-out infinite;
}
@keyframes heroPillPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(215, 242, 60, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(215, 242, 60, 0); }
}

/* ---------- 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: #12160c;
  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(15, 19, 14, 0) 42%, rgba(15, 19, 14, 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, #1b2415, #0f130e 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 {
  position: relative;
  overflow: hidden;
  margin: 40px 0;
  padding: 30px 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--accent-soft), transparent 70%);
  border: 1px solid var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 12% 15%, rgba(215, 242, 60, 0.16), transparent 60%);
  pointer-events: none;
}
.cta-banner-head { position: relative; display: flex; align-items: center; gap: 14px; }
.cta-banner__icon { font-size: 28px; line-height: 1; flex-shrink: 0; }
.cta-banner .btn { position: relative; }
.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%; }

/* ---------- Opinie ---------- */
.reviews { padding: 8px 0 16px; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 18px;
}
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 14.5px; }
.review-stars { color: var(--accent); font-size: 12px; }
.review-card p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* 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; }

/* ---------- Sticky CTA (catfish) ---------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: linear-gradient(90deg, var(--bg-elevated), #232f16 55%, var(--bg-elevated));
  border-top: 2px solid var(--accent);
  box-shadow: 0 -6px 26px rgba(0, 0, 0, 0.55);
  padding: 12px 20px;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  overflow: hidden;
}
.sticky-cta::before {
  content: "";
  position: absolute; top: -2px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: stickyCtaSweep 2.6s linear infinite;
}
@keyframes stickyCtaSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta__inner { position: relative; max-width: var(--container); margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.sticky-cta__gift-wrap {
  position: relative; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-soft);
}
.sticky-cta__gift-wrap::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--accent); opacity: 0.7;
  animation: giftPulseRing 1.8s ease-out infinite;
}
.sticky-cta__gift { font-size: 1.3rem; display: inline-flex; transform-origin: 50% 85%; animation: giftWiggle 1.8s ease-in-out infinite; }
@keyframes giftPulseRing {
  0% { transform: scale(0.8); opacity: 0.7; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes giftWiggle {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(-14deg); }
  20% { transform: rotate(12deg); }
  30% { transform: rotate(-8deg); }
  40% { transform: rotate(6deg); }
  50% { transform: rotate(0deg); }
}
.sticky-cta__name { font-size: 0.95rem; font-weight: 700; color: var(--text); text-transform: uppercase; white-space: nowrap; }
.sticky-cta__bonus {
  flex: 1; font-size: 0.9rem; font-weight: 700; color: var(--accent); text-align: center;
  background: var(--accent-soft); border: 1px solid var(--accent);
  border-radius: var(--radius-pill); padding: 5px 14px;
}
@media (max-width: 600px) { .sticky-cta__bonus { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .sticky-cta::before, .sticky-cta__gift, .sticky-cta__gift-wrap::after { animation: none; }
}

/* ---------- Efekty przycisków CTA (shine / pulse / breathe) ---------- */
.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.6), transparent);
  transform: translateX(0) skewX(-20deg);
  animation: btnShineSweep 3.4s ease-in-out infinite;
  pointer-events: none; will-change: transform;
}
@keyframes btnShineSweep {
  0% { transform: translateX(0) skewX(-20deg); }
  38% { transform: translateX(460%) skewX(-20deg); }
  100% { transform: translateX(460%) skewX(-20deg); }
}
.btn-pulse { animation: btnPulseGlow 2.6s ease-in-out infinite; }
@keyframes btnPulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(215, 242, 60, 0.5), 0 8px 26px rgba(0, 0, 0, 0.35); }
  50% { box-shadow: 0 0 0 9px rgba(215, 242, 60, 0), 0 8px 30px rgba(215, 242, 60, 0.45); }
}
.btn-breathe { animation: btnBorderBreathe 3.2s ease-in-out infinite; }
@keyframes btnBorderBreathe {
  0%, 100% { border-color: rgba(255, 255, 255, 0.22); box-shadow: 0 0 0 0 rgba(215, 242, 60, 0); }
  50% { border-color: var(--accent); box-shadow: 0 0 10px 1px rgba(215, 242, 60, 0.35); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-shine::after, .btn-pulse, .btn-breathe, .hero-bonus-pill { animation: none; }
}

/* ---------- Strona 404 ---------- */
.notfound {
  min-height: calc(100vh - 68px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 60px 20px;
  background: radial-gradient(circle at 50% 0%, rgba(215, 242, 60, 0.08), transparent 60%), var(--bg-page);
}
.notfound__emoji { font-size: 2.6rem; margin-bottom: 4px; }
.notfound__code {
  font-size: 6rem; font-weight: 800; line-height: 1;
  color: var(--accent); text-shadow: 0 0 40px rgba(215, 242, 60, 0.4);
}
.notfound__title { font-size: 1.4rem; font-weight: 700; color: var(--text); margin: 14px 0 10px; }
.notfound__text { color: var(--text-muted); font-size: 1rem; max-width: 460px; margin: 0 auto 30px; line-height: 1.75; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; max-width: 100%; }

/* ---------- 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; }
}
