:root {
  --bg: #fbfaf7;
  --paper: #f3eee5;
  --ink: #11100d;
  --muted: #5f5a52;
  --line: #ded6c7;
  --gold: #b78a36;
  --gold-soft: #d8bd82;
  --shadow: 0 22px 60px rgba(26, 22, 16, 0.13);
  /* kolory kategorii — 1:1 z kartami drukowanymi */
  --pz: #f89c0e;
  --bs: #96520e;
  --okm: #ef3321;
  --po: #3c4d97;
  --oh: #3a7620;
  --pok: #6a2380;
  --imp: #f14d5b;
  /* pola specjalne */
  --eden: #00d95f;
  --pustynia: #ffd400;
  --gehenna: #141414;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Poppins, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

/* ===== header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.brand strong { font-weight: 800; color: var(--gold); }

.top-nav {
  display: none;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
}
.top-nav a { text-decoration: none; color: var(--muted); }
.top-nav a:hover { color: var(--ink); }

.nav-cta {
  margin-left: auto;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

@media (min-width: 720px) {
  .top-nav { display: flex; }
  .nav-cta { margin-left: 0; }
}

/* ===== hero ===== */
.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px) 20px 8px;
  text-align: center;
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 6vw, 46px);
  font-weight: 800;
  line-height: 1.15;
}
.lead {
  margin: 0 auto 8px;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(15px, 2.6vw, 17px);
}

/* ===== koło ===== */
.wheel-wrap {
  position: relative;
  width: min(88vw, 460px);
  aspect-ratio: 1;
  margin: clamp(18px, 4vw, 34px) auto 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.wheel-wrap:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; border-radius: 50%; }

.wheel-svg-holder, .wheel-svg-holder svg { width: 100%; height: 100%; display: block; }
.wheel-svg-holder svg {
  transform: rotate(0deg);
  filter: drop-shadow(0 18px 40px rgba(26, 22, 16, 0.22));
}
.wheel-svg-holder.spinning svg {
  transition: transform 4.2s cubic-bezier(0.12, 0.82, 0.16, 1);
}

.wheel-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 30px solid var(--ink);
  z-index: 5;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,0.3));
}
.wheel-pointer::after {
  content: "";
  position: absolute;
  top: -30px;
  left: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
}

.wheel-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 33%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fffdf8;
  border: 4px solid var(--gold);
  box-shadow: 0 6px 24px rgba(26,22,16,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
}
.hub-jestem {
  font-style: italic;
  font-weight: 600;
  font-size: clamp(12px, 3vw, 17px);
  line-height: 1;
}
.hub-bogaczem {
  font-weight: 800;
  font-size: clamp(15px, 4vw, 23px);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.hub-cta {
  margin-top: 4px;
  font-size: clamp(9px, 2.2vw, 12px);
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--gold);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.94); }
}

.wheel-hint {
  margin: 16px auto 0;
  max-width: 420px;
  font-size: 13px;
  color: var(--muted);
}

/* ===== sekcje ===== */
.section {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(44px, 8vw, 84px) 20px;
}
.section.alt {
  max-width: none;
  background: var(--paper);
}
.section.alt > * { max-width: 1040px; margin-left: auto; margin-right: auto; }
.section h2 {
  margin: 0 0 10px;
  font-size: clamp(23px, 4.4vw, 34px);
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
}
.section-lead {
  margin: 0 auto 34px;
  max-width: 640px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

/* ===== galeria talii ===== */
.deck-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 620px;
  margin: 0 auto;
}
/* 7. talia: ostatni rząd z jedną kartą, wyśrodkowaną i tej samej wielkości */
.deck-tile:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 9px);
}
.deck-tile {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.deck-mini {
  aspect-ratio: 3 / 2;
  border-radius: 10px;
  background: var(--dc, #999);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 26px rgba(26,22,16,0.18);
  border: none;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.deck-tile:hover .deck-mini, .deck-tile:focus-visible .deck-mini {
  transform: translateY(-4px) rotate(-1.5deg);
  box-shadow: 0 16px 34px rgba(26,22,16,0.26);
}
.deck-mini::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px solid rgba(255,255,255,0.9);
  border-radius: 7px;
}
.deck-mini .mini-jestem { font-style: italic; font-weight: 600; font-size: 12px; line-height: 1.1; position: relative; }
.deck-mini .mini-bogaczem { font-weight: 800; font-size: 19px; line-height: 1.15; position: relative; }
.deck-mini .mini-cat {
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.75);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  position: relative;
  max-width: 84%;
}
.deck-name { display: block; margin: 10px 0 2px; font-weight: 600; font-size: 15px; }
.deck-more { display: block; font-size: 12.5px; color: var(--muted); }

/* ===== jak grać ===== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.how-item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--c, var(--gold));
  border-radius: 12px;
  padding: 18px 18px 14px;
}
.how-item h3 { margin: 0 0 6px; font-size: 16px; color: var(--c, var(--ink)); }
.how-item p { margin: 0; font-size: 14px; color: var(--muted); }

/* ===== gry ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 14px;
}
.game-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 18px 16px;
  box-shadow: 0 6px 18px rgba(26,22,16,0.05);
}
.game-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 30px;
  font-weight: 800;
  color: var(--paper);
  -webkit-text-stroke: 1.5px var(--gold-soft);
  line-height: 1;
}
.game-card h3 { margin: 0 42px 8px 0; font-size: 16.5px; }
.game-card h3 em { font-weight: 400; font-size: 13px; color: var(--muted); font-style: normal; }
.game-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* ===== przedsprzedaż ===== */
.presale-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 18px;
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
}
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }

.progress-demo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 16px;
  max-width: 620px !important;
}
.progress-label { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.progress-track {
  height: 22px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  transition: width 1.8s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.progress-caption { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.progress-caption em { font-size: 11.5px; }

/* ===== cennik ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(26,22,16,0.06);
}
.price-card.featured {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow);
}
.badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { margin: 0 0 4px; font-size: 19px; text-align: center; }
.price { margin: 0 0 16px; text-align: center; }
.price strong { font-size: 38px; font-weight: 800; }
.price span { color: var(--muted); font-size: 14px; margin-left: 4px; }
.price-card ul { margin: 0 0 22px; padding: 0 0 0 2px; list-style: none; flex: 1; }
.price-card li {
  padding: 7px 0 7px 26px;
  font-size: 14px;
  position: relative;
  border-bottom: 1px dashed var(--line);
}
.price-card li:last-child { border-bottom: none; }
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--gold);
  font-weight: 800;
}
.price-cta {
  display: block;
  text-align: center;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.price-cta.ghost { background: none; color: var(--ink); border: 2px solid var(--ink); }

/* ===== FAQ ===== */
.faq-list { max-width: 720px !important; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 18px;
  margin-bottom: 10px;
}
.faq-list summary {
  cursor: pointer;
  padding: 15px 26px 15px 0;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { margin: 0 0 16px; font-size: 14px; color: var(--muted); }

/* ===== kontakt ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: start;
}
.contact-grid h2 { text-align: left; font-size: 24px; }
.about-placeholder {
  color: var(--muted);
  font-style: italic;
  background: var(--paper);
  border: 1px dashed var(--gold-soft);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
}
.contact-cta p { color: var(--muted); font-size: 15px; }
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
}
.whatsapp-btn:hover { filter: brightness(1.05); }

/* ===== stopka ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 20px 34px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.site-footer p { margin: 4px 0; }

/* ===== floating widget: instrukcja gry ===== */
.instruction-widget {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 70;
  display: grid;
  gap: 1px;
  min-width: 178px;
  padding: 12px 18px 13px;
  border: 2px solid var(--gold);
  border-radius: 16px;
  background: var(--ink);
  color: #fffdf8;
  box-shadow: 0 18px 42px rgba(17, 16, 13, 0.28);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}
.instruction-widget:hover,
.instruction-widget:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gold-soft);
  box-shadow: 0 24px 54px rgba(17, 16, 13, 0.34);
}
.instruction-widget:focus-visible {
  outline: 3px solid rgba(183, 138, 54, 0.35);
  outline-offset: 3px;
}
.instruction-widget span {
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.instruction-widget strong {
  font-size: 19px;
  line-height: 1.1;
}

.instruction-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.instruction-modal[hidden] { display: none; }
.instruction-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 16, 13, 0.72);
  backdrop-filter: blur(3px);
}
.instruction-card {
  position: relative;
  z-index: 2;
  width: min(94vw, 590px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 30px clamp(20px, 4vw, 34px) 28px;
  border: 1px solid var(--gold-soft);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}
.instruction-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 28px;
  line-height: 1;
}
.instruction-close:hover,
.instruction-close:focus-visible {
  background: var(--ink);
  color: #fff;
}
.instruction-kicker {
  margin: 0 46px 8px 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.instruction-card h2 {
  margin: 0 46px 10px 0;
  font-size: clamp(24px, 6vw, 34px);
  line-height: 1.15;
}
.instruction-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}
.instruction-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: instruction-step;
}
.instruction-steps li {
  position: relative;
  min-height: 48px;
  padding: 0 0 16px 54px;
  color: var(--muted);
  font-size: 14px;
}
.instruction-steps li::before {
  counter-increment: instruction-step;
  content: counter(instruction-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-weight: 800;
}
.instruction-steps strong {
  color: var(--ink);
}
.instruction-specials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 2px 0 20px;
}
.instruction-chip {
  min-width: 0;
  padding: 10px 9px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
}
.instruction-chip strong {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
}
.instruction-chip.eden {
  background: color-mix(in srgb, var(--eden) 18%, #fff);
  color: #0b4b24;
}
.instruction-chip.pustynia {
  background: color-mix(in srgb, var(--pustynia) 28%, #fff);
  color: #503704;
}
.instruction-chip.gehenna {
  background: var(--gehenna);
  color: #fff;
}
.instruction-full {
  display: block;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.instruction-full:hover,
.instruction-full:focus-visible {
  background: var(--gold);
}

/* ===== overlay + karty ===== */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.overlay[hidden] { display: none; }
.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 16, 13, 0.72);
  backdrop-filter: blur(3px);
}
.overlay-content {
  position: relative;
  z-index: 2;
  width: min(94vw, 560px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
}
.overlay-close {
  position: absolute;
  top: -6px;
  right: 4px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.16);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}
.overlay-close:hover { background: rgba(255,255,255,0.3); }
.overlay-topline {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  min-height: 20px;
}

.card-stage {
  width: 100%;
  perspective: 1400px;
  touch-action: pan-y;
}

.flip-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.3, 0.8, 0.3, 1);
  cursor: pointer;
}
.flip-card.flipped { transform: rotateY(180deg); cursor: default; }

.card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

/* rewers */
.card-back {
  background: var(--cc, #555);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.card-back .back-frame {
  position: absolute;
  inset: 8.5%;
  border: 2px solid rgba(255,255,255,0.95);
  border-radius: 10px;
}
.card-back .back-center { text-align: center; position: relative; }
.back-jestem { display: block; font-style: italic; font-weight: 600; font-size: clamp(15px, 4vw, 22px); }
.back-bogaczem { display: block; font-weight: 800; font-size: clamp(26px, 7.6vw, 42px); line-height: 1.15; }
.back-divider { display: block; width: 64px; height: 2px; background: #fff; margin: 10px auto; }
.back-cat { display: block; font-size: clamp(9px, 2.4vw, 13px); font-weight: 600; letter-spacing: 0.34em; }
.back-tap {
  position: absolute;
  bottom: 7%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: clamp(10px, 2.6vw, 13px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.92);
  animation: pulse 1.5s ease-in-out infinite;
}

/* awers */
.card-front {
  background: #fff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: 4.4% 5% 4%;
  color: var(--ink);
}
.card-front .card-pts {
  position: absolute;
  top: 4.5%;
  right: 5%;
  background: var(--cc, #555);
  color: #fff;
  font-weight: 800;
  font-size: clamp(9px, 2.4vw, 12px);
  padding: 0.3em 0.8em;
  border-radius: 999px;
  z-index: 3;
}
.card-front .pill {
  align-self: center;
  background: var(--cc, #555);
  color: #fff;
  font-weight: 800;
  font-size: clamp(12px, 3.2vw, 17px);
  letter-spacing: 0.04em;
  padding: 0.5em 1.15em;
  border-radius: 999px;
  margin-bottom: 3.6%;
  white-space: nowrap;
}
.card-front .card-body {
  flex: 1;
  overflow-y: auto;
  font-size: clamp(11.5px, 3vw, 15px);
  line-height: 1.45;
  position: relative;
  z-index: 2;
}
.card-body .quote { font-style: italic; }
.card-body .center-stack {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
}
.card-body .big-title { font-weight: 800; font-size: clamp(16px, 4.6vw, 24px); }
.card-body .big-ref { font-weight: 800; font-size: clamp(20px, 6vw, 30px); color: var(--cc); }
.card-body .small-note { font-size: clamp(10px, 2.6vw, 12.5px); color: var(--muted); }
.card-body .ref-tag { font-weight: 600; color: var(--cc); margin-bottom: 4px; display: inline-block; }

.card-body ol.opts { margin: 8px 0 0; padding: 0; list-style: none; }
.card-body ol.opts li {
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 5px;
  font-size: clamp(11px, 2.8vw, 14px);
}
.card-body ol.opts li.correct {
  border-color: var(--cc);
  background: color-mix(in srgb, var(--cc) 12%, #fff);
  font-weight: 600;
}
.card-body ol.opts li .opt-letter { font-weight: 800; color: var(--cc); margin-right: 6px; }

.reveal-row { margin-top: 10px; position: relative; z-index: 2; }
.reveal-btn {
  border: 1.5px solid var(--cc, var(--ink));
  color: var(--cc, var(--ink));
  background: #fff;
  border-radius: 999px;
  padding: 5px 16px;
  font: inherit;
  font-size: clamp(11px, 2.8vw, 13px);
  font-weight: 600;
  cursor: pointer;
}
.answer-text {
  margin: 8px 0 0;
  font-size: clamp(11.5px, 3vw, 14px);
  font-weight: 600;
  display: none;
}
.answer-text.shown { display: block; }

.card-watermark {
  position: absolute;
  right: 5%;
  bottom: 4%;
  text-align: right;
  line-height: 0.95;
  color: rgba(17, 16, 13, 0.1);
  pointer-events: none;
  z-index: 1;
}
.card-watermark .wm1 { display: block; font-style: italic; font-weight: 600; font-size: clamp(13px, 3.6vw, 19px); }
.card-watermark .wm2 { display: block; font-weight: 800; font-size: clamp(18px, 5vw, 26px); }

/* karta specjalna (EDEN / PUSTYNIA / GEHENNA) */
.special-card {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  background: var(--cc);
  color: var(--tc, #fff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6%;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
}
.special-card::before {
  content: "";
  position: absolute;
  inset: 8.5%;
  border: 2px solid currentColor;
  opacity: 0.75;
  border-radius: 10px;
}
.special-name { font-weight: 800; font-size: clamp(30px, 9vw, 52px); letter-spacing: 0.06em; line-height: 1.1; position: relative; }
.special-rule { margin-top: 3%; font-size: clamp(13px, 3.4vw, 17px); font-weight: 600; max-width: 86%; position: relative; }

.overlay-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}
.overlay-nav[hidden] { display: none; }
.nav-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}
.nav-arrow:disabled { opacity: 0.35; cursor: default; }
.nav-counter { color: #fff; font-weight: 600; font-size: 15px; min-width: 54px; text-align: center; }

.play-again {
  margin-top: 18px;
  padding: 14px 40px;
  border: none;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(183, 138, 54, 0.5);
}
.play-again:hover { filter: brightness(1.07); }
.play-again[hidden] { display: none; }

@media (max-width: 480px) {
  .deck-grid { gap: 12px; }
  .nav-cta { font-size: 13px; padding: 8px 14px; }
  .instruction-widget {
    right: 14px;
    bottom: 14px;
    min-width: 162px;
    padding: 11px 15px 12px;
  }
  .instruction-widget span { font-size: 10px; }
  .instruction-widget strong { font-size: 17px; }
  .instruction-specials { grid-template-columns: 1fr; }
  .instruction-card { padding-top: 28px; }
}

.how-item .pts-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--c, var(--gold));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .instruction-widget {
    transition: none;
  }
}
