/* ================================================================
   style.css — Yep Casino PL
   Motyw: ciemny, kosmiczny z akcentami złota i fioletu
   Autor: YepCasino Online PL
   Domena: yepcasino-onlinepl.pl
================================================================ */

/* ----------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (ZMIENNE)
   Centralne miejsce dla kolorów, czcionek i innych wartości.
   Zmiana tutaj propaguje się na cały arkusz.
---------------------------------------------------------------- */
:root {
  /* Kolory tła */
  --bg-primary:   #060614;   /* Główne tło strony — głęboki granat */
  --bg-surface:   #0d0d25;   /* Powierzchnia kart, sekcji */
  --bg-card:      #131340;   /* Tło kart bonusów, slotów */
  --bg-glass:     rgba(255, 255, 255, 0.04); /* Szklany efekt glassmorphism */
  --bg-glass-md:  rgba(255, 255, 255, 0.08);

  /* Kolory akcentów */
  --gold:         #ffd700;   /* Czyste złoto — główny akcent */
  --gold-light:   #ffe566;   /* Jasne złoto — hover */
  --gold-dim:     #c9a800;   /* Przyciemnione złoto */
  --purple:       #9b35e0;   /* Wibrujący fiolet */
  --purple-dark:  #6a1fa0;   /* Ciemny fiolet */
  --cyan:         #00d4ff;   /* Cyjan — akcent kontrastu */
  --green:        #22c55e;   /* Zielony — badge wagera, pozytywne */

  /* Kolory tekstu */
  --text-primary: #f0ecff;   /* Główny tekst — lekko fioletowy biały */
  --text-dim:     #9088c0;   /* Przygaszony tekst */
  --text-muted:   #5a5280;   /* Bardzo przygaszony — podpisy, legal */

  /* Obramowania */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-gold:   rgba(255, 215, 0, 0.35);

  /* Cienie */
  --shadow-gold:  0 0 30px rgba(255, 215, 0, 0.25);
  --shadow-card:  0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-glow:  0 0 20px rgba(155, 53, 224, 0.4);

  /* Typografia */
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Promienie zaokrąglenia */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  /* Przejścia */
  --transition-fast:   0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow:   0.5s ease;

  /* Szerokość kontenera */
  --container-max: 1200px;
  --container-pad: clamp(16px, 4vw, 40px);
}

/* ----------------------------------------------------------------
   2. CSS RESET I WARTOŚCI BAZOWE
   Normalizuje style między przeglądarkami i usuwa domyślne marginesy.
---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;          /* Płynne przewijanie do kotwic */
  scroll-padding-top: 80px;         /* Kompensacja stałego nagłówka */
  -webkit-text-size-adjust: 100%;   /* Zapobiega zmianie rozmiaru na iOS */
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;               /* Zapobiega poziomemu przewijaniu */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tło gwiazdkowe (canvas) — zawsze na dole warstw */
#stars-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* Nie blokuje kliknięć */
}

/* Wszystkie główne sekcje nad canvasem */
body > * {
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover,
a:focus-visible {
  color: var(--gold-light);
}

/* Klasa ukrywająca wizualnie, ale dostępna dla czytników ekranu */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ----------------------------------------------------------------
   3. KONTENER LAYOUTU
   Ogranicza szerokość treści i centruje ją na stronie.
---------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ----------------------------------------------------------------
   4. TYPOGRAFIA — Nagłówki i treść ogólna
---------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Tytułu sekcji — używany w całej stronie */
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

/* Podtytuł sekcji */
.section-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-inline: auto;
}

/* Gradient złoto-fiolet dla wybranych słów w nagłówkach */
.gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----------------------------------------------------------------
   5. PRZYCISKI — Spójny system przycisków
---------------------------------------------------------------- */

/* Bazowy styl przycisku */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}

/* Przycisk główny — złoty gradient */
.btn-primary {
  background: linear-gradient(135deg, #ffb800 0%, var(--gold) 50%, #e6a800 100%);
  color: #1a1000;
  border-color: var(--gold);
  text-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--gold-light) 0%, #ffcc00 100%);
  color: #1a1000;
  transform: translateY(-2px);
}

/* Efekt świecenia — animacja pulsowania na ważnych przyciskach */
.btn-glow {
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.15);
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.btn-glow:hover {
  animation: none;
  box-shadow: 0 6px 30px rgba(255, 215, 0, 0.6);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.15); }
  50%       { box-shadow: 0 4px 30px rgba(255, 215, 0, 0.7), 0 0 60px rgba(255, 215, 0, 0.3); }
}

/* Przycisk drugorzędny — fioletowy */
.btn-secondary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  border-color: var(--purple);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: linear-gradient(135deg, #b35ef0 0%, var(--purple) 100%);
  color: #fff;
  transform: translateY(-2px);
}

/* Przycisk z obramowaniem — styl ghost */
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold-dim);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* Duży przycisk CTA */
.btn-large {
  padding: 16px 38px;
  font-size: 1.05rem;
}

/* Styl focus dla dostępności klawiatury */
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ----------------------------------------------------------------
   6. HEADER — Stały nagłówek z nawigacją
---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 6, 20, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

/* Gdy użytkownik scrolluje, nagłówek zyskuje cień */
.site-header.scrolled {
  background: rgba(6, 6, 20, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

/* Wewnętrzny layout nagłówka: logo | nav | CTA | hamburger */
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}

.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 42px;
  width: auto;
}

/* Nawigacja desktopowa */
.header-nav {
  flex: 1;
}

.header-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}

.header-nav a {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
}

.header-cta {
  flex-shrink: 0;
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* Hamburger menu (mobile) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
  display: block;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Rozwijane menu mobilne */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px var(--container-pad);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu a {
  color: var(--text-primary);
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: block;
  transition: background var(--transition-fast);
}

.mobile-menu a:hover {
  background: var(--bg-glass-md);
  color: var(--gold);
}

.mobile-menu-cta {
  align-self: flex-start;
}

/* ----------------------------------------------------------------
   7. BREADCRUMBS — Ścieżka nawigacji
---------------------------------------------------------------- */
.breadcrumbs {
  background: rgba(13, 13, 37, 0.8);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
}

.breadcrumb-item a {
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--gold);
}

.breadcrumb-sep {
  color: var(--text-muted);
  user-select: none;
}

/* Aktywny element (bieżąca strona) */
.breadcrumb-current {
  color: var(--gold);
  font-weight: 500;
}

/* ----------------------------------------------------------------
   8. HERO — Baner z responsywnym obrazem i blokiem CTA
---------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Obraz baneru wypełnia całą sekcję */
.hero-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Ciemna warstwa nakładki dla czytelności tekstu */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(6, 6, 20, 0.5) 100%
  );
  z-index: 1;
}

/* Overlay z blokiem CTA — wycentrowany na obu wersjach */
.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 40px var(--container-pad);
}

/*
  Blok CTA — półprzezroczysty, wycentrowany na banerze.
  Używa backdrop-filter dla efektu glassmorphism.
*/
.hero-cta-block {
  background: rgba(6, 6, 20, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 5vw, 48px) clamp(28px, 6vw, 56px);
  text-align: center;
  max-width: 580px;
  width: 100%;
  box-shadow: var(--shadow-gold), var(--shadow-card);
}

/* Badge "BEZ DEPOZYTU" nad tytułem */
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: #1a1000;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* Główny nagłówek H1 w sekcji hero */
.hero-title {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Liczba "40 PLN" z efektem złotego blasku */
.hero-amount {
  color: var(--gold);
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  display: inline-block;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  margin-bottom: 24px;
}

/* Wyróżniony kod promocyjny w opisie */
.hero-code {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.12);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 215, 0, 0.3);
  font-family: var(--font-heading);
  font-size: 1.05em;
  letter-spacing: 0.05em;
  cursor: pointer;
}

/* Przyciski CTA wewnątrz bloku hero */
.hero-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* Mała informacja o warunkach */
.hero-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* ----------------------------------------------------------------
   9. STATS BAR — Pasek z kluczowymi parametrami
---------------------------------------------------------------- */
.stats-bar {
  background: linear-gradient(135deg, #0d0d35 0%, #160d2e 100%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 28px 0;
  overflow-x: auto; /* Przewijanie na bardzo małych ekranach */
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  min-width: 400px; /* Minimalna szerokość przed przewijaniem */
}

.stat-item {
  text-align: center;
  padding: 16px 8px;
  border-right: 1px solid var(--border-subtle);
}

.stat-item:last-child {
  border-right: none;
}

/* Duża liczba statystyki */
.stat-value {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.stat-unit {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-dim);
  margin-left: 2px;
  vertical-align: super;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ----------------------------------------------------------------
   10. SECTION — Wspólne style dla sekcji treści
---------------------------------------------------------------- */
.section {
  padding: clamp(56px, 8vw, 100px) 0;
}

/* Naprzemienne tło sekcji dla wizualnego oddzielenia */
.section-intro,
.section-steps,
.section-pros {
  background: var(--bg-surface);
}

.section-table,
.section-wager,
.section-slots,
.section-tips,
.section-faq {
  background: var(--bg-primary);
}

.section-responsible {
  background: linear-gradient(135deg, #0d0d25 0%, #120c28 100%);
}

/* ----------------------------------------------------------------
   11. SEKCJA INTRO — Tekst wprowadzający i pole kodu
---------------------------------------------------------------- */

/* Dwukolumnowy layout: tekst + lista zalet */
.intro-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.intro-text p {
  color: var(--text-dim);
  margin-bottom: 1.1rem;
  font-size: 1rem;
  line-height: 1.75;
}

.intro-text strong {
  color: var(--text-primary);
}

/* Lista z ikonami ptaszka */
.intro-features {
  list-style: none;
  background: var(--bg-glass-md);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
}

.intro-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-subtle);
}

.intro-features li:last-child {
  border-bottom: none;
}

.check-icon {
  color: var(--green);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Pole z kodem promocyjnym — wyróżniony box */
.promo-code-box {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.06) 0%, rgba(155, 53, 224, 0.06) 100%);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.promo-code-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  width: 100%;
}

/* Wyświetlanie kodu z przyciskiem kopiowania */
.promo-code-display {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 10px 20px;
}

.promo-code-text {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* Przycisk kopiowania kodu */
.btn-copy {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-copy:hover {
  background: rgba(255, 215, 0, 0.22);
}

/* ----------------------------------------------------------------
   12. BONUS TABLE — Responsywna tabela warunków
   Na desktopie: standardowa tabela dwukolumnowa
   Na mobile (<640px): każdy wiersz staje się kartą dzięki data-label
---------------------------------------------------------------- */
.table-mobile-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  justify-content: center;
}

/* Wrapper zapewnia poziome przewijanie gdy tabela jest za wąska */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Płynne przewijanie na iOS */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 32px;
}

/* Tabela bonusu */
.bonus-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface);
  min-width: 400px; /* Minimalna szerokość by nie wyglądała zbyt ciasno */
}

/* Nagłówek tabeli ze złotą belką */
.bonus-table thead tr {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(155, 53, 224, 0.15) 100%);
}

.bonus-table th {
  padding: 16px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  border-bottom: 2px solid var(--border-gold);
}

.bonus-table td {
  padding: 15px 24px;
  color: var(--text-dim);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}

/* Pierwszy TD każdego wiersza — etykieta parametru */
.bonus-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

/* Naprzemienne tło wierszy */
.bonus-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

.bonus-table tbody tr:hover {
  background: rgba(255, 215, 0, 0.05);
}

/* Wyróżniony kod w tabeli */
.highlight-code {
  color: var(--gold);
  font-size: 1.05em;
  letter-spacing: 0.08em;
}

/* Wyróżniona wartość kwoty */
.highlight-value {
  color: var(--green);
  font-size: 1.05em;
}

/* Odznaki (badges) w tabeli */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-green {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-gold {
  background: rgba(255, 215, 0, 0.12);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

/* Przyciski pod tabelą */
.table-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------------
   13. WAGER SECTION — Sekcja wyjaśnienia obrotu
---------------------------------------------------------------- */
.wager-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}

/* Karta kalkulatora obrotu */
.wager-calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.wager-calc-header {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(155, 53, 224, 0.1));
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.wager-calc-icon {
  font-size: 1.6rem;
}

.wager-calc-header h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-primary);
}

.wager-calc-body {
  padding: 24px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.calc-label {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.calc-value {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
}

.calc-value.gold { color: var(--gold); }
.calc-value.large { font-size: 1.4rem; }

/* Linia oddzielająca w kalkulatorze */
.calc-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 6px 0;
}

.calc-total {
  background: rgba(255, 215, 0, 0.05);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  margin: 0 -8px;
}

/* Przykłady zakładów */
.calc-examples {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-example-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--text-dim);
  padding: 7px 10px;
  background: var(--bg-glass);
  border-radius: var(--radius-sm);
}

.calc-example-result {
  color: var(--cyan);
  font-weight: 600;
}

/* Karta z ważną uwagą */
.wager-note-card {
  background: linear-gradient(135deg, rgba(155, 53, 224, 0.08) 0%, rgba(0, 212, 255, 0.05) 100%);
  border: 1px solid rgba(155, 53, 224, 0.25);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-glow);
}

.wager-note-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.wager-note-card h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.wager-note-card p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.wager-note-card strong { color: var(--text-primary); }
.wager-note-card em { color: var(--cyan); font-style: normal; font-weight: 500; }

/* Wyróżniony tip z poradą */
.wager-tip {
  background: rgba(255, 215, 0, 0.07);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px;
  font-size: 0.87rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Pasek porównania wagera */
.comparison-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.comparison-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-align: center;
}

.comparison-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-item {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 16px;
}

.comparison-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* Pasek procentowy */
.comparison-track {
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  overflow: hidden;
}

.comparison-fill {
  height: 100%;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  transition: width var(--transition-slow);
}

.fill-yep {
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  color: #1a1000;
}

.fill-avg {
  background: linear-gradient(90deg, var(--text-muted), var(--text-dim));
}

.comparison-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.comparison-badge.best {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ----------------------------------------------------------------
   14. STEPS — Kroki aktywacji kodu
---------------------------------------------------------------- */
.steps-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  counter-reset: steps;
}

/* Karta kroku */
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.step-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

/* Numer kroku — duże cyfry złote */
.step-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: #1a1000;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.35);
}

.step-title {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 12px;
}

.step-link {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

/* Inline kod z opcją kopiowania (w kroku 3) */
.inline-code {
  font-family: var(--font-heading);
  color: var(--gold);
  background: rgba(255, 215, 0, 0.1);
  padding: 1px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.inline-copy-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  margin-top: 8px;
}

.inline-code-text {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.btn-inline-copy {
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.btn-inline-copy:hover {
  background: rgba(255, 215, 0, 0.22);
}

/* ----------------------------------------------------------------
   15. SLOTS GRID — Siatka miniaturek slotów
---------------------------------------------------------------- */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.slot-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.slot-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), var(--shadow-gold);
  border-color: var(--border-gold);
}

.slot-card a {
  display: block;
  color: inherit;
}

.slot-img-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.slot-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.slot-card:hover .slot-img-wrapper img {
  transform: scale(1.08);
}

/* Nakładka z przyciskiem play (pojawia się przy hover) */
.slot-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-normal);
}

.slot-card:hover .slot-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.slot-play-btn {
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0;
  transform: scale(0.6);
  transition: all var(--transition-normal);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.slot-card:hover .slot-play-btn {
  opacity: 1;
  transform: scale(1);
}

.slot-info {
  padding: 10px 12px;
  text-align: center;
}

.slot-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.slots-cta {
  text-align: center;
}

/* ----------------------------------------------------------------
   16. PROS CARDS — Siatka kart zalet
---------------------------------------------------------------- */
.pros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

/* Karta jednej zalety */
.pro-card {
  background: var(--bg-glass-md);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition-normal);
}

.pro-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.pro-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.2));
}

.pro-title {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pro-desc {
  font-size: 0.87rem;
  color: var(--text-dim);
  line-height: 1.65;
}

.pros-cta {
  text-align: center;
}

/* ----------------------------------------------------------------
   17. TIPS — Lista praktycznych porad
---------------------------------------------------------------- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tip-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-glass-md);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition-normal);
}

.tip-item:hover {
  border-color: var(--border-gold);
}

/* Duże numery porad */
.tip-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
}

.tip-content h3 {
  font-size: 0.97rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.tip-content p {
  font-size: 0.87rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ----------------------------------------------------------------
   18. FAQ — Akordeony pytań i odpowiedzi
---------------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: var(--border-gold);
}

/* Przycisk pytania — pełna szerokość, klikalny */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: rgba(255, 215, 0, 0.04);
}

/* Ikona + obraca się gdy otwarte */
.faq-icon {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform var(--transition-normal);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg); /* + staje się × */
}

/* Treść odpowiedzi — domyślnie ukryta */
.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.faq-answer p { margin-bottom: 8px; }
.faq-answer strong { color: var(--text-primary); }

/* ----------------------------------------------------------------
   18b. SEO SECTION — Siatka bloków tekstowych z treścią SEO
---------------------------------------------------------------- */
.section-seo {
  background: var(--bg-surface);
}

/* Siatka 3 kolumny na desktopie, 2 na tablecie, 1 na mobile */
.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

/* Jeden blok SEO — karta z nagłówkiem H3 i paragrafem */
.seo-block {
  background: var(--bg-glass-md);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.seo-block:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.seo-block h3 {
  font-size: 0.97rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.seo-block p {
  font-size: 0.87rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.seo-block strong { color: var(--text-primary); }
.seo-block em { color: var(--cyan); font-style: normal; }

/* Przyciski pod siatką SEO */
.seo-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .seo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .seo-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   19. RESPONSIBLE GAMBLING — Karta odpowiedzialnej gry
---------------------------------------------------------------- */
.responsible-card {
  background: linear-gradient(135deg, rgba(155, 53, 224, 0.08), rgba(0, 212, 255, 0.04));
  border: 1px solid rgba(155, 53, 224, 0.25);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}

.responsible-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 16px rgba(155, 53, 224, 0.4));
}

.responsible-card h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.responsible-card p {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.responsible-card strong { color: var(--text-primary); }

.responsible-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.responsible-badge {
  background: rgba(155, 53, 224, 0.12);
  border: 1px solid rgba(155, 53, 224, 0.3);
  color: var(--text-dim);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ----------------------------------------------------------------
   20. FOOTER — Stopka strony
---------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, var(--bg-surface) 0%, #040410 100%);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

/* Górna część stopki: brand po lewej, CTA po prawej */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.footer-logo img {
  height: 38px;
  width: auto;
  margin-bottom: 14px;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.footer-logo:hover img { opacity: 1; }

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.6;
}

.footer-cta-text {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

/* Sekcja metod płatności */
.footer-payments {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-payments-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 16px;
}

/* Siatka ikon metod płatności */
.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.payment-icon-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  height: 44px;
}

.payment-icon-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.15);
}

.payment-icon-item img {
  height: 24px;
  width: auto;
  opacity: 0.75;
  filter: grayscale(20%);
  transition: opacity var(--transition-fast), filter var(--transition-fast);
}

.payment-icon-item:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* Nawigacja stopki */
.footer-nav {
  margin-bottom: 36px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--gold);
}

/* Dolna część stopki: legal + geo */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 700px;
}

.footer-legal strong { color: var(--text-dim); }

.footer-geo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.geo-badge,
.lang-badge {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  background: var(--bg-glass);
}

/* ----------------------------------------------------------------
   21. STICKY BAR — Pasek na dole (wyłącznie mobile)
---------------------------------------------------------------- */
.sticky-bar {
  display: none; /* Domyślnie ukryty — widoczny tylko na mobile */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(6, 6, 20, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-gold);
  padding: 10px var(--container-pad);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
}

.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--container-max);
  margin-inline: auto;
}

.sticky-bar-text {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.sticky-code {
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.sticky-amount {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 500;
}

.sticky-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ----------------------------------------------------------------
   22. TOAST — Powiadomienie o skopiowaniu kodu
---------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(34, 197, 94, 0.95);
  color: #fff;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: 200;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ----------------------------------------------------------------
   23. ANIMACJE — Scroll-triggered (data-aos) i inne
---------------------------------------------------------------- */

/* Elementy z data-aos domyślnie niewidoczne przed animacją */
[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"]    { transform: translateY(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"]  { transform: translateX(30px); }
[data-aos="zoom-in"]    { transform: scale(0.9); }

/* Klasa dodawana przez JS gdy element wchodzi w viewport */
[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* Shimmer — efekt błysku na ważnych elementach */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Animacja countera (liczby w stats bar) */
@keyframes count-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------------------
   24. FOCUS VISIBLE — Dostępność klawiatury
   Pokazuje wyraźny outline dla nawigacji klawiaturą.
---------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----------------------------------------------------------------
   25. MEDIA QUERIES — Responsywność
   Podejście mobile-first: style bazowe → breakpointy w górę/dół.
   Breakpointy:
   - 1024px: tablet landscape / mały desktop
   - 768px:  tablet portrait
   - 640px:  duży telefon
   - 480px:  standardowy telefon
---------------------------------------------------------------- */

/* === 1024px: Tablet landscape === */
@media (max-width: 1024px) {
  .slots-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pros-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* === 900px: Mały desktop === */
@media (max-width: 900px) {
  .wager-grid {
    grid-template-columns: 1fr;
  }

  .comparison-item {
    grid-template-columns: 150px 1fr auto;
  }

  .intro-body {
    grid-template-columns: 1fr;
  }
}

/* === 768px: Tablet portrait — przełącznik do wersji mobilnej === */
@media (max-width: 768px) {

  /* Header: ukryj nawigację desktopową i CTA, pokaż hamburger */
  .header-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Stats bar — przewijalna lista */
  .stats-grid {
    grid-template-columns: repeat(4, minmax(100px, 1fr));
  }

  /* Kroki: jednokolumnowe */
  .steps-list {
    grid-template-columns: 1fr;
  }

  /* Sloty: 2 kolumny na tablecie */
  .slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Pros: 2 kolumny */
  .pros-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Tips: 1 kolumna */
  .tips-grid {
    grid-template-columns: 1fr;
  }

  /* Porównanie wagera: kompaktowe */
  .comparison-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Hero: mniejszy padding */
  .hero {
    min-height: 380px;
  }

  /* Pokaż sticky bar */
  .sticky-bar {
    display: block;
  }

  /* Dodaj padding dolny do body by sticky bar nie zasłaniał treści */
  body {
    padding-bottom: 64px;
  }
}

/* === 640px: Duży telefon === */
@media (max-width: 640px) {

  /* TABELA RESPONSYWNA — zmiana z tabeli w karty
     Każdy wiersz staje się pionową kartą używając data-label jako etykiety */
  .bonus-table,
  .bonus-table tbody,
  .bonus-table tr {
    display: block;
    width: 100%;
  }

  /* Ukryj nagłówek tabeli (etykiety z data-label zastąpią go) */
  .bonus-table thead {
    display: none;
  }

  /* Każdy wiersz to karta */
  .bonus-table tr {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    padding: 4px 0;
  }

  /* Każda komórka pokazuje etykietę z atrybutu data-label */
  .bonus-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 16px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .bonus-table td:last-child {
    border-bottom: none;
  }

  /* Etykieta przed wartością */
  .bonus-table td::before {
    content: attr(data-label);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
    margin-right: 12px;
  }

  /* Wrapper nie potrzebuje min-width na mobile */
  .table-wrapper {
    overflow-x: visible;
  }

  .bonus-table {
    min-width: unset;
  }

  /* Sloty: 2 kolumny */
  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Pros: 1 kolumna */
  .pros-grid {
    grid-template-columns: 1fr;
  }

  /* Wager grid: 1 kolumna */
  .wager-grid {
    grid-template-columns: 1fr;
  }

  /* Hero block: pełna szerokość, kompaktowy */
  .hero-cta-block {
    padding: 24px 20px;
    margin: 0 12px;
  }

  .hero-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  /* Promo box: pionowo */
  .promo-code-box {
    padding: 20px;
    gap: 14px;
  }

  /* Stopka: 1 kolumna */
  .footer-top {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}

/* === 480px: Mały telefon === */
@media (max-width: 480px) {

  /* Stats bar jeszcze bardziej kompaktowy */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    min-width: unset;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--border-subtle);
  }

  /* Sloty: 2 kolumny — zachowaj czytelność */
  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Ograniczenie tekstu nagłówka bohatera */
  .hero-title {
    font-size: 1.6rem;
  }

  /* Karta odpowiedzialnej gry */
  .responsible-card {
    padding: 24px 18px;
  }

  .responsible-badges {
    flex-direction: column;
    align-items: center;
  }

  /* Breadcrumbs: zawij */
  .breadcrumb-current {
    font-size: 0.78rem;
  }
}

/* ----------------------------------------------------------------
   26. PRINT — Style dla drukowania
---------------------------------------------------------------- */
@media print {
  .site-header,
  .hero,
  .stats-bar,
  .sticky-bar,
  .toast,
  #stars-canvas {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    padding: 0;
  }

  .section {
    page-break-inside: avoid;
  }
}
