/*
Theme Name: StreetHunt
Theme URI: https://streethunt.app/
Author: StreetHunt
Author URI: https://streethunt.app/
Description: Ciemny, neonowy motyw dla strony aplikacji StreetHunt — gry dla spotterów samochodowych. Styl "neonowy garaż": bardzo ciemne tło, neonowe akcenty i karty kolekcjonerskie z poświatą. Zero zewnętrznych bibliotek, CDN-ów i fontów z sieci — strona ładuje się błyskawicznie także na hostingu współdzielonym.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: streethunt
Tags: one-column, dark, custom-colors, custom-logo, custom-menu, featured-images, translation-ready, blog, landing-page
*/

/* =========================================================================
   1. TOKENY — kolory 1:1 z StreetHunt/Core/Theme.swift
   ========================================================================= */

:root {
  /* Tla */
  --sh-bg-top:        #0b0e24;  /* Theme.bgTop        rgb(0.045, 0.055, 0.14) */
  --sh-bg-bottom:     #1c0d38;  /* Theme.bgBottom     rgb(0.11,  0.05,  0.22) */
  --sh-card:          #171a30;  /* Theme.cardSurface  rgb(0.09,  0.10,  0.19) */
  --sh-surface:       #262945;  /* Theme.surfaceLight rgb(0.15,  0.16,  0.27) */

  /* Akcenty */
  --sh-cyan:          #33f2ff;  /* Theme.neonCyan     rgb(0.20, 0.95, 1.00) */
  --sh-magenta:       #ff40bf;  /* Theme.neonMagenta  rgb(1.00, 0.25, 0.75) */
  --sh-lime:          #8cff59;  /* Theme.neonLime     rgb(0.55, 1.00, 0.35) */
  --sh-orange:        #ff9e26;  /* Theme.neonOrange   rgb(1.00, 0.62, 0.15) */
  --sh-gold:          #ffd140;  /* Theme.gold         rgb(1.00, 0.82, 0.25) */

  /* Tekst */
  --sh-text:          #ffffff;
  --sh-text-dim:      rgba(255,255,255,.65);   /* Theme.textSecondary */
  --sh-text-faint:    rgba(255,255,255,.42);
  --sh-line:          rgba(255,255,255,.10);
  --sh-line-strong:   rgba(255,255,255,.18);

  /* Rzadkosc — Rarity.color */
  --sh-r-common:      #9ea8bd;  /* zwykla      */
  --sh-r-uncommon:    #59eb85;  /* niezwykla   */
  --sh-r-uncommon-2:  #199966;
  --sh-r-rare:        #409eff;  /* rzadka      */
  --sh-r-epic:        #b861ff;  /* epicka      */
  --sh-r-legend:      #ffd140;  /* legendarna  */

  /* Gradienty */
  --sh-grad-action:   linear-gradient(135deg, var(--sh-cyan), var(--sh-magenta));
  --sh-grad-legend:   linear-gradient(135deg, var(--sh-gold), var(--sh-orange), var(--sh-magenta), var(--sh-gold));
  --sh-grad-epic:     linear-gradient(135deg, var(--sh-r-epic), var(--sh-magenta), var(--sh-cyan));

  /* Rytm */
  --sh-radius:        18px;
  --sh-radius-lg:     26px;
  --sh-radius-pill:   999px;
  --sh-maxw:          1160px;
  --sh-gap:           clamp(16px, 2.2vw, 26px);
  --sh-section-y:     clamp(56px, 9vw, 120px);
  --sh-shadow:        0 18px 50px rgba(0,0,0,.55);
  --sh-header-h:      66px;

  /* Fonty systemowe — odpowiednik design: .rounded z aplikacji */
  --sh-font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont,
             "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue",
             "Noto Sans", Arial, sans-serif;
  --sh-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
             "Liberation Mono", monospace;
}

/* =========================================================================
   2. RESET / BAZA
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--sh-header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--sh-font);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.65;
  font-weight: 500;
  color: var(--sh-text);
  background-color: var(--sh-bg-top);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Tlo "neonowego garazu": gradient + siatka + poswiaty. Wszystko w CSS,
   zero obrazkow do pobrania. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(1100px 620px at 12% -8%,  rgba(51,242,255,.16), transparent 62%),
    radial-gradient(900px  560px at 92% 4%,   rgba(255,64,191,.16), transparent 60%),
    radial-gradient(1000px 700px at 50% 108%, rgba(184,97,255,.14), transparent 65%),
    linear-gradient(180deg, var(--sh-bg-top) 0%, #120b2c 52%, var(--sh-bg-bottom) 100%);
}

/* Siatka garazowa */
body::after {
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 15%, transparent 78%);
          mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 15%, transparent 78%);
  opacity: .85;
}

img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
svg { flex: none; }

a { color: var(--sh-cyan); text-decoration-color: rgba(51,242,255,.45); text-underline-offset: 3px; }
a:hover { color: #9df8ff; }

:focus-visible {
  outline: 2px solid var(--sh-cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.1rem, 6.4vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 4.1vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.25em; }
code, kbd, pre { font-family: var(--sh-font-mono); font-size: .92em; }

hr { border: 0; height: 1px; background: var(--sh-line); margin: 2.5em 0; }

::selection { background: rgba(255,64,191,.35); color: #fff; }

/* Dostepnosc */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
.sh-skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: 12px 20px; border-radius: 0 0 14px 0;
  background: var(--sh-cyan); color: #05060f; font-weight: 800;
}
.sh-skip:focus { left: 0; }

/* =========================================================================
   3. UKLAD
   ========================================================================= */

.sh-wrap {
  width: min(100% - 2 * clamp(16px, 4.4vw, 40px), var(--sh-maxw));
  margin-inline: auto;
}

.sh-section { padding-block: var(--sh-section-y); position: relative; }
.sh-section--tight { padding-block: clamp(40px, 6vw, 80px); }

.sh-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px;
  font-size: .78rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--sh-cyan);
}
.sh-eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--sh-grad-action);
}

.sh-section__head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 52px); }
.sh-section__head p { color: var(--sh-text-dim); font-size: 1.05rem; margin-bottom: 0; }
.sh-section__head--center { margin-inline: auto; text-align: center; }
.sh-section__head--center .sh-eyebrow::before { display: none; }

.sh-neon-text {
  background: var(--sh-grad-action);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* =========================================================================
   4. PRZYCISKI I ODZNAKI
   ========================================================================= */

.sh-btn {
  --btn-fg: #05060f;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border: 0; border-radius: var(--sh-radius-pill);
  font: inherit; font-weight: 800; font-size: 1rem;
  line-height: 1; text-decoration: none; cursor: pointer;
  color: var(--btn-fg);
  background: var(--sh-grad-action);
  box-shadow: 0 10px 30px rgba(51,242,255,.22), 0 6px 20px rgba(255,64,191,.20);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.sh-btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  filter: saturate(1.12);
  box-shadow: 0 16px 40px rgba(51,242,255,.30), 0 10px 28px rgba(255,64,191,.26);
}
.sh-btn:active { transform: translateY(0) scale(.985); }

.sh-btn--ghost {
  --btn-fg: var(--sh-text);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--sh-line-strong);
  box-shadow: none;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sh-btn--ghost:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(51,242,255,.55);
  box-shadow: 0 8px 26px rgba(51,242,255,.16);
}

.sh-btn--soon { position: relative; }
.sh-btn--soon .sh-btn__sub {
  display: block; font-size: .7rem; font-weight: 700; opacity: .72; letter-spacing: .05em;
}
.sh-btn__stack { display: grid; gap: 3px; text-align: left; }

.sh-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px 7px 12px;
  border-radius: var(--sh-radius-pill);
  border: 1px solid var(--sh-line-strong);
  background: rgba(255,255,255,.05);
  font-size: .82rem; font-weight: 700; color: var(--sh-text-dim);
}
.sh-badge__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sh-lime);
  box-shadow: 0 0 10px var(--sh-lime);
}

/* =========================================================================
   5. NAGLOWEK / NAWIGACJA
   ========================================================================= */

.sh-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,14,36,.72);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
          backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.sh-header.is-stuck {
  background: rgba(9,11,30,.92);
  border-bottom-color: var(--sh-line);
}
.sh-header__inner {
  min-height: var(--sh-header-h);
  display: flex; align-items: center; gap: 18px;
  /* Pasek MUSI byc jednolinijkowy: --sh-header-h (66px) jest uzywana przez
     scroll-padding-top, wiec gdy menu zawinie sie do dwoch linii, wszystkie
     kotwice scrolluja w zle miejsce. Zamiast zawijac — chowamy menu pod burgera. */
  flex-wrap: nowrap;
}

.sh-brand {
  display: inline-flex; align-items: center; gap: 11px;
  margin-right: auto;
  text-decoration: none; color: var(--sh-text);
  font-weight: 900; font-size: 1.16rem; letter-spacing: -.02em;
}
.sh-brand:hover { color: var(--sh-text); }
.sh-brand__mark {
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(51,242,255,.22), rgba(255,64,191,.22));
  border: 1px solid rgba(51,242,255,.42);
  box-shadow: 0 0 18px rgba(51,242,255,.22);
}
.sh-brand__mark svg { width: 21px; height: 21px; }
.sh-brand em { font-style: normal; color: var(--sh-cyan); }
.sh-brand .custom-logo { max-height: 40px; width: auto; }

.sh-nav ul {
  display: flex; align-items: center; flex-wrap: nowrap; gap: 4px;
  margin: 0; padding: 0; list-style: none;
}
/* Przycisk pobierania w panelu mobilnym — na desktopie jest go po prostu nie ma
   (w pasku obok stoi ten sam przycisk; wczesniej widac bylo oba naraz). */
.sh-nav__cta { display: none; }

/* UWAGA: celowo `.sh-nav ul a`, a nie `.sh-nav a` — inaczej ta regula
   nadpisywalaby display:inline-flex przycisku .sh-btn w panelu mobilnym
   i ikona wchodzilaby na tekst. */
.sh-nav ul a {
  display: block; padding: 9px 14px; white-space: nowrap;
  border-radius: var(--sh-radius-pill);
  color: var(--sh-text-dim); text-decoration: none;
  font-size: .95rem; font-weight: 700;
  transition: color .15s ease, background .15s ease;
}
.sh-nav ul a:hover,
.sh-nav .current-menu-item > a,
.sh-nav .current_page_item > a { color: var(--sh-text); background: rgba(255,255,255,.07); }

.sh-header .sh-btn { padding: 11px 20px; font-size: .92rem; }

.sh-burger {
  display: none;
  width: 42px; height: 42px; padding: 0;
  border-radius: 12px; cursor: pointer;
  border: 1px solid var(--sh-line-strong);
  background: rgba(255,255,255,.05);
  color: var(--sh-text);
}
.sh-burger span {
  display: block; width: 18px; height: 2px; margin: 4px auto;
  border-radius: 2px; background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}
.sh-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sh-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sh-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Burger wlacza sie duzo wczesniej niz wczesniej (bylo 860 px).
   Przy pieciu pozycjach menu + przycisku pasek potrzebuje ok. 840 px samej
   tresci, wiec ponizej ~1080 px szerokosci okna nie ma na to miejsca
   i menu zawijalo sie do drugiej linii (widoczne np. na laptopie 1024 px). */
@media (max-width: 1080px) {
  .sh-header__inner { flex-wrap: wrap; }
  .sh-burger { display: block; order: 3; }
  .sh-header .sh-header__cta { display: none; }
  .sh-nav {
    order: 4; flex-basis: 100%;
    display: none;
    padding: 6px 0 18px;
    border-top: 1px solid var(--sh-line);
    margin-top: 2px;
  }
  .sh-nav.is-open { display: block; }
  .sh-nav ul { flex-direction: column; align-items: stretch; flex-wrap: wrap; gap: 2px; }
  .sh-nav ul a { padding: 13px 14px; font-size: 1.02rem; }
  .sh-nav__cta { display: block; margin-top: 12px; }
  .sh-header .sh-nav__cta .sh-btn { width: 100%; padding: 15px 20px; font-size: 1rem; }
}

/* =========================================================================
   6. HERO
   ========================================================================= */

/* Hero jest celowo nizsze niz wczesniej: tresc siedziala wysoko, a pod nia
   zostawalo kilkaset pikseli golego tla. Dolny oddech przejela zajawka
   .sh-hero__flow, ktora od razu pokazuje, o co chodzi w grze. */
.sh-hero { position: relative; padding-block: clamp(30px, 4.4vw, 62px) clamp(20px, 2.4vw, 32px); }
/* pierwsza sekcja po hero tez nie potrzebuje pelnego oddechu — dzieki temu jej
   naglowek podglada zza krawedzi ekranu i widac, ze strona ma dalszy ciag */
.sh-hero + .sh-section { padding-top: clamp(32px, 4vw, 58px); }
.sh-hero__grid {
  display: grid; gap: clamp(32px, 5vw, 60px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
}
@media (max-width: 940px) {
  .sh-hero__grid { grid-template-columns: 1fr; }
  .sh-hero { padding-block: 26px 26px; }
  .sh-hero__art { margin-top: 6px; }
}

/* H1 to tagline (punkt 6). Logotyp jest akapitem, wiec regula musi celowac
   w klase, a nie w znacznik — inaczej odstepy zamienialyby sie miejscami. */
.sh-hero .sh-hero__logo { margin-bottom: .18em; }
.sh-hero__logo {
  display: block;
  font-size: clamp(2.9rem, 10vw, 5.2rem);
  font-weight: 900; letter-spacing: -.045em; line-height: .95;
}
.sh-hero__logo span { display: inline-block; }
.sh-hero__logo .sh-hero__hunt {
  background: var(--sh-grad-action);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 26px rgba(255,64,191,.35));
}
.sh-hero__tagline {
  margin: 0 0 18px;
  font-size: clamp(1.28rem, 2.9vw, 1.78rem);
  font-weight: 800; color: var(--sh-text);
  line-height: 1.26; letter-spacing: -.012em;
  max-width: 22ch;
}
.sh-hero__lead {
  max-width: 54ch;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--sh-text-dim);
}
.sh-hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin: 18px 0 20px;
}

/* Formularz zapisu (punkt 1). Slot pusty (np. po premierze, gdy formularz
   sam sie chowa) nie zajmuje ani piksela. */
.sh-hero__signup:empty, .sh-cta__signup:empty { display: none; }
.sh-hero__signup { margin: 26px 0 0; max-width: 34rem; }
.sh-cta__signup { margin: 26px auto 0; max-width: 34rem; }

/* -------------------------------------------------------------------------
   FORMULARZ ZAPISU NA PREMIERE
   Ten sam komponent w hero i w sekcji koncowej. W sekcji koncowej rodzic ma
   text-align:center, wiec formularz musi jawnie wrocic do wyrownania do lewej
   — inaczej klauzula zgody rozjezdza sie na cztery wysrodkowane linie.
   ---------------------------------------------------------------------- */

.sh-signup {
  position: relative; isolation: isolate;
  padding: 20px 22px 18px;
  text-align: left;
  border-radius: var(--sh-radius-lg);
  border: 1px solid rgba(51,242,255,.30);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(51,242,255,.10), transparent 58%),
    radial-gradient(120% 140% at 100% 100%, rgba(255,64,191,.10), transparent 58%),
    rgba(15,18,38,.86);
  box-shadow: 0 16px 44px rgba(0,0,0,.45);
}
.sh-signup__title {
  display: flex; align-items: center; gap: 9px;
  margin: 0 0 5px;
  font-size: 1.04rem; font-weight: 800; letter-spacing: -.01em;
}
.sh-signup__title svg { flex: none; width: 20px; height: 20px; color: var(--sh-cyan); }
.sh-signup__ico { display: inline-flex; }
/* Naglowek i ikona przelaczaja sie na samej klasie .is-done — ta sama sciezka
   dla wersji z JavaScriptem i bez niego. */
.sh-signup__ico--done, .sh-signup__head--done { display: none; }
.sh-signup.is-done .sh-signup__ico--idle,
.sh-signup.is-done .sh-signup__head--idle { display: none; }
.sh-signup.is-done .sh-signup__ico--done { display: inline-flex; }
.sh-signup.is-done .sh-signup__head--done { display: inline; }
.sh-signup.is-done .sh-signup__ico--done svg { color: var(--sh-lime); }
.sh-signup__sub { margin: 0 0 15px; font-size: .9rem; line-height: 1.45; color: var(--sh-text-dim); }

.sh-signup__row { display: flex; gap: 10px; align-items: stretch; }
/* Selektory sa dwuklasowe celowo. Globalne reguly formularzy celuja w
   input[type="email"] i button[type="submit"], czyli maja wyzsza specyficznosc
   niz pojedyncza klasa — bez tego pole i przycisk wracalyby do domyslnego
   paddingu i zaokraglenia, i mialyby rozna wysokosc. */
.sh-signup .sh-signup__input {
  flex: 1 1 auto; min-width: 0;
  padding: 15px 18px;
  border-radius: var(--sh-radius-pill);
}
.sh-signup .sh-signup__btn {
  flex: 0 0 auto; white-space: nowrap;
  width: auto; padding: 15px 24px;
  border-radius: var(--sh-radius-pill);
}
.sh-signup .sh-signup__btn svg { width: 19px; height: 19px; }

@media (max-width: 560px) {
  .sh-signup { padding: 18px 16px 16px; }
  .sh-signup__row { flex-direction: column; }
  .sh-signup .sh-signup__btn { width: 100%; }
}

.sh-signup__consent { margin: 14px 0 0; }
.sh-signup__consent label {
  display: flex; gap: 11px; align-items: flex-start;
  cursor: pointer;
  font-size: .86rem; line-height: 1.5; color: var(--sh-text-dim);
}
.sh-signup__consent input[type="checkbox"] {
  flex: none; width: 20px; height: 20px; margin: 1px 0 0;
  accent-color: var(--sh-cyan); cursor: pointer;
}
.sh-signup__consent label:hover { color: var(--sh-text); }

.sh-signup__fine {
  margin: 11px 0 0;
  font-size: .755rem; line-height: 1.55; color: var(--sh-text-faint);
}
.sh-signup__fine a { color: var(--sh-text-dim); }
.sh-signup__fine a:hover { color: var(--sh-cyan); }

.sh-signup__msg { margin: 0; font-size: .92rem; font-weight: 700; line-height: 1.45; }
.sh-signup__msg:empty { display: none; }
.sh-signup__msg:not(:empty) { margin-top: 14px; }
.sh-signup__msg:focus { outline: none; }
.sh-signup__msg.is-ok  { color: var(--sh-lime); }
.sh-signup__msg.is-err { color: var(--sh-orange); }

/* Po udanym zapisie zostaje sam komunikat — pola znikaja. */
.sh-signup.is-done .sh-signup__fields { display: none; }
.sh-signup.is-done .sh-signup__sub { display: none; }
.sh-signup.is-done .sh-signup__msg:not(:empty) { margin-top: 6px; }
.sh-signup.is-done { border-color: rgba(140,255,89,.42); }

/* Stan wysylki (tylko z JS). */
.sh-signup.is-busy .sh-signup__btn { opacity: .6; pointer-events: none; }

/* Pulapka na boty. Celowo NIE display:none — czesc botow pomija pola ukryte
   w ten sposob. Pole jest wyprowadzone poza ekran, wyjete z tabulacji
   (tabindex=-1 w HTML) i ukryte przed czytnikami ekranu (aria-hidden). */
.sh-hp {
  position: absolute !important;
  left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.sh-hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin: 0; padding: 0; list-style: none;
  font-size: .9rem; font-weight: 700; color: var(--sh-text-faint);
}
.sh-hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.sh-hero__meta svg { width: 16px; height: 16px; color: var(--sh-lime); }

/* Telefon w hero */
.sh-hero__art { position: relative; display: grid; place-items: center; }
.sh-hero__art::before {
  content: ""; position: absolute; inset: -8% -4%;
  background: radial-gradient(closest-side, rgba(255,64,191,.28), transparent 72%);
  filter: blur(18px); z-index: 0;
}
/* Kontener rowny telefonowi — chipy pozycjonuja sie wzgledem NIEGO, nie
   wzgledem calej kolumny hero (patrz .sh-hero__chip nizej). */
.sh-phone-frame {
  position: relative; z-index: 1;
  width: min(286px, 76vw);
}

.sh-phone {
  position: relative; z-index: 1;
  width: 100%;
  aspect-ratio: 9 / 17.4;
  padding: 11px;
  border-radius: 44px;
  background: linear-gradient(160deg, #33384f, #12131f 42%, #2a2d44);
  box-shadow: var(--sh-shadow), 0 0 0 1px rgba(255,255,255,.07) inset;
}
.sh-phone__screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 34px;
  padding: 26px 13px 15px;
  background: linear-gradient(180deg, var(--sh-bg-top), var(--sh-bg-bottom));
  display: flex; flex-direction: column; gap: 10px;
}
.sh-phone__screen::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
}
.sh-phone__notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 20px; border-radius: 12px; background: #0a0b16; z-index: 3;
}
.sh-phone__label {
  position: relative; z-index: 2;
  font-size: .68rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sh-cyan);
}
.sh-phone__viewfinder {
  position: relative; z-index: 2; flex: 1;
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(51,242,255,.35);
  background: linear-gradient(180deg, rgba(51,242,255,.07), rgba(255,64,191,.07));
  display: grid; place-items: center;
}
.sh-phone__viewfinder .sh-car { width: 94%; }
.sh-phone__scanline {
  position: absolute; left: 0; right: 0; height: 34%;
  background: linear-gradient(180deg, transparent, rgba(51,242,255,.28) 70%, rgba(51,242,255,.85));
  border-bottom: 2px solid var(--sh-cyan);
  box-shadow: 0 0 26px rgba(51,242,255,.75);
  animation: sh-scan 2.6s cubic-bezier(.5,0,.5,1) infinite;
}
@keyframes sh-scan {
  0%   { top: -34%; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.sh-phone__corner {
  position: absolute; width: 26px; height: 26px; z-index: 3;
  border: 3px solid var(--sh-cyan); border-radius: 5px;
}
.sh-phone__corner--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.sh-phone__corner--tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.sh-phone__corner--bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.sh-phone__corner--br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.sh-phone__shutter {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px; border-radius: 16px;
  background: var(--sh-grad-action); color: #05060f;
  font-weight: 900; font-size: .95rem;
}
/* Pasek "rozpoznano" — wypelnia ekran telefonu i pokazuje, co apka wypluwa. */
.sh-phone__read {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 7px;
  padding: 8px 10px; border-radius: 12px;
  background: rgba(184,97,255,.14);
  border: 1px solid rgba(184,97,255,.45);
}
.sh-phone__read-dot {
  width: 7px; height: 7px; flex: none; border-radius: 50%;
  background: var(--sh-r-epic); box-shadow: 0 0 9px var(--sh-r-epic);
}
.sh-phone__read-name {
  flex: 1; min-width: 0;
  font-size: .68rem; font-weight: 800; color: var(--sh-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sh-phone__read-tag {
  flex: none; font-size: .56rem; font-weight: 900;
  letter-spacing: .1em; text-transform: uppercase; color: var(--sh-r-epic);
}

.sh-phone__chips { position: relative; z-index: 2; display: flex; gap: 6px; }
.sh-phone__chip {
  flex: 1; padding: 7px 3px 6px; border-radius: 11px; text-align: center;
  display: grid; justify-items: center; gap: 3px;
  background: rgba(255,255,255,.06); border: 1px solid var(--sh-line);
  font-size: .58rem; font-weight: 800; color: var(--sh-text-dim);
}
.sh-phone__chip svg { width: 15px; height: 15px; color: var(--sh-cyan); }
.sh-phone__chip:nth-child(2) svg { color: var(--sh-magenta); }
.sh-phone__chip:nth-child(3) svg { color: var(--sh-lime); }
.sh-phone__shutter svg { width: 18px; height: 18px; }

/* Odznaka "AI" przy telefonie */
.sh-hero__chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--sh-radius-pill);
  background: rgba(23,26,48,.92);
  border: 1px solid rgba(51,242,255,.4);
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  font-size: .8rem; font-weight: 800; white-space: nowrap;
}
.sh-hero__chip svg { width: 16px; height: 16px; color: var(--sh-cyan); }
/* Offsety w PIKSELACH i wzgledem telefonu (.sh-phone-frame), nie w procentach
   kolumny hero. Wczesniej left:-6% liczylo sie od szerokosci calej kolumny,
   wiec przy ~521-940 px chip "Zapisuje miejsce lowow" wyjezdzal poza ekran
   i ucinal go body { overflow-x: hidden }. */
.sh-hero__chip--ai  { top: 15%;   right: -14px; animation: sh-float 6s ease-in-out infinite; }
.sh-hero__chip--gps { bottom: 34%; left: -14px; animation: sh-float 6s ease-in-out .8s infinite; }
.sh-hero__chip--gps svg { color: var(--sh-lime); }
@keyframes sh-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
@media (max-width: 400px) {
  .sh-hero__chip { padding: 8px 11px; font-size: .74rem; }
  .sh-hero__chip--ai  { right: -8px; }
  .sh-hero__chip--gps { left: -8px; }
}

/* =========================================================================
   7. JAK TO DZIALA
   ========================================================================= */

.sh-steps {
  display: grid; gap: var(--sh-gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  counter-reset: sh-step;
}
.sh-step {
  position: relative; overflow: hidden;
  padding: 30px 26px 28px;
  border-radius: var(--sh-radius-lg);
  background: linear-gradient(165deg, rgba(38,41,69,.75), rgba(23,26,48,.92));
  border: 1px solid var(--sh-line);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.sh-step::after {
  counter-increment: sh-step; content: "0" counter(sh-step);
  position: absolute; top: 14px; right: 20px;
  font-size: 3.1rem; font-weight: 900; line-height: 1;
  color: rgba(255,255,255,.05); letter-spacing: -.05em;
}
.sh-step:hover {
  transform: translateY(-5px);
  border-color: rgba(51,242,255,.4);
  box-shadow: 0 20px 46px rgba(0,0,0,.45), 0 0 0 1px rgba(51,242,255,.14);
}
.sh-step__icon {
  width: 58px; height: 58px; margin-bottom: 18px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(51,242,255,.16), rgba(255,64,191,.16));
  border: 1px solid rgba(51,242,255,.32);
  box-shadow: 0 0 24px rgba(51,242,255,.16);
  color: var(--sh-cyan);
}
.sh-step__icon svg { width: 30px; height: 30px; }
.sh-step:nth-child(2) .sh-step__icon { color: var(--sh-magenta); border-color: rgba(255,64,191,.35); box-shadow: 0 0 24px rgba(255,64,191,.18); }
.sh-step:nth-child(3) .sh-step__icon { color: var(--sh-gold);    border-color: rgba(255,209,64,.35); box-shadow: 0 0 24px rgba(255,209,64,.18); }
.sh-step h3 { margin-bottom: .4em; }
.sh-step p  { color: var(--sh-text-dim); margin: 0; font-size: .98rem; }

/* =========================================================================
   8. FUNKCJE
   ========================================================================= */

.sh-features {
  display: grid; gap: var(--sh-gap);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 258px), 1fr));
}
.sh-feature {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--sh-radius);
  background: rgba(23,26,48,.72);
  border: 1px solid var(--sh-line);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.sh-feature:hover {
  transform: translateY(-4px);
  background: rgba(38,41,69,.8);
  border-color: rgba(255,255,255,.22);
}
.sh-feature__icon {
  width: 42px; height: 42px; margin-bottom: 15px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--sh-line-strong);
  color: var(--sh-cyan);
}
.sh-feature__icon svg { width: 22px; height: 22px; }
.sh-feature h3 { font-size: 1.06rem; margin-bottom: .35em; }
.sh-feature p  { margin: 0; font-size: .93rem; color: var(--sh-text-dim); line-height: 1.55; }

.sh-feature:nth-child(6n+2) .sh-feature__icon { color: var(--sh-magenta); }
.sh-feature:nth-child(6n+3) .sh-feature__icon { color: var(--sh-lime); }
.sh-feature:nth-child(6n+4) .sh-feature__icon { color: var(--sh-gold); }
.sh-feature:nth-child(6n+5) .sh-feature__icon { color: var(--sh-orange); }
.sh-feature:nth-child(6n+6) .sh-feature__icon { color: var(--sh-r-epic); }

/* =========================================================================
   9. PRZEWAGI
   ========================================================================= */

.sh-edge-band { position: relative; }
.sh-edge-band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255,64,191,.06) 40%, transparent);
  pointer-events: none;
}
.sh-edges {
  display: grid; gap: var(--sh-gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.sh-edge {
  display: flex; gap: 16px;
  padding: 26px 24px;
  border-radius: var(--sh-radius-lg);
  background:
    linear-gradient(150deg, rgba(51,242,255,.07), transparent 46%),
    rgba(23,26,48,.85);
  border: 1px solid var(--sh-line);
}
.sh-edge__icon {
  flex: none; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--sh-line-strong);
  color: var(--sh-lime);
}
.sh-edge__icon svg { width: 23px; height: 23px; }
.sh-edge h3 { font-size: 1.08rem; margin-bottom: .3em; }
.sh-edge p  { margin: 0; font-size: .95rem; color: var(--sh-text-dim); }
.sh-edge__tag {
  display: inline-block; margin-top: 12px;
  padding: 4px 11px; border-radius: var(--sh-radius-pill);
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--sh-lime); background: rgba(140,255,89,.10);
  border: 1px solid rgba(140,255,89,.30);
}
.sh-edge:nth-child(2) .sh-edge__icon { color: var(--sh-cyan); }
.sh-edge:nth-child(3) .sh-edge__icon { color: var(--sh-magenta); }
.sh-edge:nth-child(4) .sh-edge__icon { color: var(--sh-gold); }
.sh-edge:nth-child(5) .sh-edge__icon { color: var(--sh-orange); }

/* =========================================================================
   10. PODGLAD KARTY KOLEKCJONERSKIEJ
   ========================================================================= */

.sh-showcase {
  display: grid; gap: clamp(30px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: center;
}
@media (max-width: 900px) {
  .sh-showcase { grid-template-columns: 1fr; }
  .sh-showcase__stage { order: -1; }
}

.sh-showcase__stage { display: grid; place-items: center; perspective: 1400px; }

/* Drabinka rzadkosci */
.sh-ladder { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; }
.sh-ladder li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--sh-radius-pill);
  font-size: .82rem; font-weight: 800;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--sh-line-strong);
  color: var(--sh-text-dim);
}
.sh-ladder i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--dot, var(--sh-r-common));
  box-shadow: 0 0 var(--glow, 0px) var(--dot, var(--sh-r-common));
}
.sh-ladder li:last-child { color: var(--sh-gold); border-color: rgba(255,209,64,.4); background: rgba(255,209,64,.08); }

/* Karta */
.sh-holo {
  position: relative;
  width: min(380px, 88vw);
  padding: 3px;
  border-radius: 28px;
  background: var(--sh-grad-legend);
  background-size: 260% 260%;
  box-shadow:
    0 0 34px rgba(255,209,64,.34),
    0 0 90px rgba(255,158,38,.20),
    var(--sh-shadow);
  animation: sh-holo-shift 9s ease-in-out infinite;
  transform: rotateY(-7deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.sh-holo:hover { transform: rotateY(0deg) rotateX(0deg) translateY(-6px) scale(1.015); }
@keyframes sh-holo-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.sh-holo__inner {
  position: relative; overflow: hidden;
  border-radius: 25px;
  padding: 20px 20px 18px;
  background: linear-gradient(180deg, #1b1e36, var(--sh-card) 55%, #12142a);
  display: flex; flex-direction: column; gap: 14px;
}
.sh-holo__inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.10) 48%, transparent 58%);
  transform: translateX(-40%);
  animation: sh-sheen 6.5s ease-in-out infinite;
}
@keyframes sh-sheen {
  0%, 62%, 100% { transform: translateX(-60%); opacity: 0; }
  70%           { opacity: 1; }
  92%           { transform: translateX(70%); opacity: 0; }
}

.sh-holo__top { display: flex; align-items: flex-start; gap: 12px; }
.sh-holo__make {
  display: block; font-size: .74rem; font-weight: 900;
  letter-spacing: .22em; text-transform: uppercase; color: var(--sh-text-faint);
}
.sh-holo__model {
  margin: 2px 0 3px; font-size: 1.62rem; line-height: 1.05;
  font-weight: 900; letter-spacing: -.02em;
}
.sh-holo__years { font-size: .82rem; font-weight: 700; color: var(--sh-text-dim); }

.sh-rarity {
  flex: none; margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--sh-radius-pill);
  font-size: .74rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase;
  color: var(--sh-gold);
  background: rgba(255,209,64,.12);
  border: 1px solid rgba(255,209,64,.55);
  box-shadow: 0 0 18px rgba(255,209,64,.30);
  white-space: nowrap;
}

.sh-holo__photo {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(255,64,191,.22), transparent 62%),
    linear-gradient(180deg, #0d1026, #1a1130);
  border: 1px solid rgba(255,255,255,.10);
  display: grid; place-items: center;
}
.sh-holo__photo::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000);
          mask-image: linear-gradient(180deg, transparent, #000);
}
.sh-holo__car { position: relative; z-index: 1; width: 92%; }

.sh-holo__place {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--sh-radius-pill);
  background: rgba(9,11,26,.78);
  border: 1px solid var(--sh-line-strong);
  font-size: .72rem; font-weight: 700; color: var(--sh-text-dim);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sh-holo__place svg { width: 13px; height: 13px; color: var(--sh-lime); }

.sh-holo__stats { margin: 0; display: grid; gap: 7px; }
.sh-stat {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 13px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.07);
}
.sh-stat svg { width: 17px; height: 17px; flex: none; color: var(--sh-val, var(--sh-cyan)); }
.sh-stat dt { font-size: .85rem; font-weight: 700; color: var(--sh-text-dim); }
.sh-stat dd {
  margin: 0 0 0 auto; font-size: .98rem; font-weight: 900;
  color: var(--sh-val, var(--sh-text)); letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.sh-stat--value { --sh-val: var(--sh-gold); }
.sh-stat--speed { --sh-val: var(--sh-cyan); }
.sh-stat--accel { --sh-val: var(--sh-magenta); }
.sh-stat--power { --sh-val: var(--sh-orange); }
.sh-stat--units { --sh-val: var(--sh-lime); }

.sh-holo__fact {
  margin: 0; padding: 11px 13px;
  border-radius: 13px;
  background: rgba(255,209,64,.07);
  border: 1px solid rgba(255,209,64,.22);
  font-size: .84rem; line-height: 1.5; color: rgba(255,255,255,.78);
}
.sh-holo__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 3px;
  font-size: .76rem; font-weight: 800; color: var(--sh-text-faint);
}
.sh-holo__points { color: var(--sh-lime); }

/* Male karty w tle stosu */
.sh-holo-stack { position: relative; display: grid; place-items: center; }
.sh-holo-stack::before,
.sh-holo-stack::after {
  content: ""; position: absolute; z-index: -1;
  width: min(340px, 80vw); height: 84%;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(38,41,69,.85), rgba(23,26,48,.85));
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}
.sh-holo-stack::before {
  transform: rotate(-8deg) translate(-30px, 12px);
  border: 1px solid rgba(184,97,255,.45);
}
.sh-holo-stack::after {
  transform: rotate(7deg) translate(30px, 16px);
  border: 1px solid rgba(64,158,255,.45);
}
@media (max-width: 560px) {
  .sh-holo-stack::before, .sh-holo-stack::after { display: none; }
  .sh-holo { transform: none; }
}

/* Mini karty pod tekstem */
.sh-minis { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sh-mini {
  flex: 1 1 130px;
  padding: 12px 13px; border-radius: 15px;
  background: rgba(23,26,48,.8);
  border: 1px solid var(--sh-line);
  border-left: 3px solid var(--mini, var(--sh-r-rare));
}
.sh-mini strong { display: block; font-size: .92rem; line-height: 1.25; }
.sh-mini span   { font-size: .76rem; font-weight: 700; color: var(--sh-text-faint); }
.sh-mini b      { display: block; margin-top: 8px; font-size: .9rem; white-space: nowrap; }
.sh-mini i      {
  display: block; margin-top: 2px; font-style: normal;
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mini, var(--sh-r-rare));
}

/* =========================================================================
   10b. ZAJAWKA POD HERO, TABELA PORoWNAWCZA, DLA RODZICoW, HISTORIA, FAQ
   ========================================================================= */

/* --- Zajawka nastepnej sekcji (punkt 8: pustka pod hero) ----------------- */
.sh-hero__flow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px;
  margin: clamp(22px, 3vw, 36px) 0 0; padding: 12px;
  list-style: none;
  border-radius: var(--sh-radius);
  border: 1px solid var(--sh-line);
  background: linear-gradient(120deg, rgba(51,242,255,.07), rgba(255,64,191,.07));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sh-hero__flow li {
  flex: 1 1 190px;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 12px;
  background: rgba(11,14,36,.45);
  font-size: .92rem; font-weight: 700; color: var(--sh-text-dim);
}
.sh-hero__flow-no {
  font-size: .8rem; font-weight: 900; letter-spacing: .06em;
  color: var(--sh-cyan);
}
.sh-hero__flow li:nth-child(2) .sh-hero__flow-no { color: var(--sh-magenta); }
.sh-hero__flow li:nth-child(3) .sh-hero__flow-no { color: var(--sh-gold); }
.sh-hero__flow li.sh-hero__flow-cue {
  flex: 0 0 auto; background: none; padding: 8px;
  color: var(--sh-text-faint);
  animation: sh-nudge 2.4s ease-in-out infinite;
}
.sh-hero__flow-cue svg { width: 20px; height: 20px; }
@keyframes sh-nudge {
  0%, 100% { transform: translateY(0); opacity: .55; }
  50%      { transform: translateY(4px); opacity: 1; }
}
@media (max-width: 620px) {
  .sh-hero__flow-cue { display: none; }
}

/* --- Tabela porownawcza (punkt 5) ---------------------------------------- */
.sh-compare {
  margin-top: clamp(26px, 4vw, 46px);
  border-radius: var(--sh-radius-lg);
  border: 1px solid var(--sh-line);
  background: rgba(23,26,48,.72);
  /* wlasne przewijanie w poziomie: strona nigdy nie jedzie na boki */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.sh-table {
  width: 100%; min-width: 620px;
  border-collapse: collapse;
  font-size: .95rem;
}
.sh-table caption {
  caption-side: top; text-align: left;
  padding: 20px 22px 14px;
  color: var(--sh-text-dim); font-size: .98rem;
}
.sh-table th, .sh-table td {
  padding: 13px 18px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--sh-line);
}
.sh-table thead th {
  font-size: .74rem; font-weight: 900;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--sh-text-faint);
  border-bottom-color: var(--sh-line-strong);
  white-space: nowrap;
}
.sh-table tbody th {
  font-weight: 800; color: var(--sh-text); white-space: nowrap;
}
.sh-table td { color: var(--sh-text-dim); }
.sh-table tbody tr:last-child th,
.sh-table tbody tr:last-child td { border-bottom: 0; }
.sh-table__us { position: relative; }
.sh-table thead .sh-table__us { color: var(--sh-cyan); }
.sh-table td.sh-table__us {
  display: table-cell;
  color: var(--sh-text); font-weight: 700;
  background: linear-gradient(90deg, rgba(51,242,255,.10), rgba(255,64,191,.08));
}
.sh-table td.sh-table__us svg {
  width: 15px; height: 15px; color: var(--sh-lime);
  display: inline-block; vertical-align: -2px; margin-right: 6px;
}
.sh-table td.sh-table__us span { display: inline; }

/* --- Dla rodzicow (punkt 5) ---------------------------------------------- */
.sh-parents {
  display: grid; gap: var(--sh-gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.sh-parent {
  display: flex; gap: 16px;
  padding: 24px 22px;
  border-radius: var(--sh-radius-lg);
  background: rgba(23,26,48,.82);
  border: 1px solid var(--sh-line);
}
.sh-parent__icon {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--sh-lime);
  background: rgba(140,255,89,.10);
  border: 1px solid rgba(140,255,89,.30);
}
.sh-parent__icon svg { width: 23px; height: 23px; }
.sh-parent:nth-child(2) .sh-parent__icon { color: var(--sh-magenta); background: rgba(255,64,191,.10); border-color: rgba(255,64,191,.30); }
.sh-parent:nth-child(3) .sh-parent__icon { color: var(--sh-cyan);    background: rgba(51,242,255,.10); border-color: rgba(51,242,255,.30); }
.sh-parent:nth-child(4) .sh-parent__icon { color: var(--sh-gold);    background: rgba(255,209,64,.10); border-color: rgba(255,209,64,.30); }
.sh-parent:nth-child(5) .sh-parent__icon { color: var(--sh-orange);  background: rgba(255,158,38,.10); border-color: rgba(255,158,38,.30); }
.sh-parent h3 { font-size: 1.06rem; margin-bottom: .34em; }
.sh-parent p  { margin: 0; font-size: .94rem; color: var(--sh-text-dim); }

.sh-parents__note {
  display: flex; gap: 18px;
  margin-top: var(--sh-gap);
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--sh-radius-lg);
  background:
    radial-gradient(90% 160% at 0% 0%, rgba(51,242,255,.13), transparent 62%),
    rgba(23,26,48,.9);
  border: 1px solid rgba(51,242,255,.26);
}
.sh-parents__note-icon {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--sh-cyan);
  background: rgba(51,242,255,.10);
  border: 1px solid rgba(51,242,255,.32);
}
.sh-parents__note-icon svg { width: 24px; height: 24px; }
.sh-parents__note h3 { font-size: 1.1rem; margin-bottom: .4em; }
.sh-parents__note p  { font-size: .95rem; color: var(--sh-text-dim); }
.sh-parents__cta { margin: 20px 0 0; }
.sh-parents__cta .sh-btn svg { width: 18px; height: 18px; }
@media (max-width: 560px) {
  .sh-parents__note { flex-direction: column; gap: 14px; }
}

/* --- Kto to zrobil (punkt 5) --------------------------------------------- */
.sh-story {
  display: grid; gap: clamp(26px, 4vw, 52px);
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
}
@media (max-width: 900px) {
  .sh-story { grid-template-columns: 1fr; }
}
.sh-story__text p { color: var(--sh-text-dim); max-width: 62ch; }
.sh-story__more { margin-top: 26px; }
.sh-story__more .sh-btn svg { width: 18px; height: 18px; }

.sh-story__quote {
  position: relative; margin: 0;
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--sh-radius-lg);
  background: linear-gradient(160deg, rgba(38,41,69,.9), rgba(23,26,48,.95));
  border: 1px solid rgba(255,64,191,.28);
  box-shadow: 0 0 60px rgba(255,64,191,.10);
}
.sh-story__quote-mark { color: var(--sh-magenta); opacity: .75; margin-bottom: 12px; }
.sh-story__quote-mark svg { width: 34px; height: 34px; fill: currentColor; stroke: none; }
.sh-story__quote blockquote { margin: 0; }
.sh-story__quote blockquote p {
  margin: 0;
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  font-weight: 800; line-height: 1.3; letter-spacing: -.01em;
  color: var(--sh-text);
}
.sh-story__quote figcaption {
  margin-top: 18px;
  font-size: .88rem; font-weight: 700; color: var(--sh-text-faint);
}

/* --- FAQ (punkt 5) ------------------------------------------------------- */
.sh-faq { display: grid; gap: 10px; max-width: 900px; }
.sh-faq__item {
  border-radius: var(--sh-radius);
  background: rgba(23,26,48,.78);
  border: 1px solid var(--sh-line);
  transition: border-color .2s ease, background .2s ease;
}
.sh-faq__item[open] {
  border-color: rgba(51,242,255,.34);
  background: rgba(23,26,48,.94);
}
.sh-faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px;
  cursor: pointer; list-style: none;
  font-weight: 800; font-size: 1.02rem; color: var(--sh-text);
}
.sh-faq__item summary::-webkit-details-marker { display: none; }
.sh-faq__item summary:hover { color: var(--sh-cyan); }
.sh-faq__chevron {
  flex: none; width: 20px; height: 20px; color: var(--sh-cyan);
  transition: transform .22s ease;
}
.sh-faq__item[open] .sh-faq__chevron { transform: rotate(180deg); }
.sh-faq__answer { padding: 0 20px 19px; }
.sh-faq__answer p { margin: 0; color: var(--sh-text-dim); font-size: .97rem; max-width: 72ch; }

/* Zamiast emoji na karcie i w makiecie — inline SVG (punkt 11) */
.sh-rarity svg { width: 15px; height: 15px; }
.sh-holo__fact { display: flex; gap: 9px; align-items: flex-start; }
.sh-holo__fact svg { flex: none; width: 15px; height: 15px; margin-top: 2px; color: var(--sh-gold); }

/* =========================================================================
   11. PASEK CTA
   ========================================================================= */

.sh-cta {
  position: relative; overflow: hidden;
  padding: clamp(34px, 5vw, 58px);
  border-radius: var(--sh-radius-lg);
  text-align: center;
  background:
    radial-gradient(90% 140% at 50% 0%, rgba(51,242,255,.16), transparent 62%),
    linear-gradient(160deg, rgba(38,41,69,.9), rgba(23,26,48,.95));
  border: 1px solid rgba(51,242,255,.26);
  box-shadow: 0 0 60px rgba(51,242,255,.10);
}
.sh-cta h2 { margin-bottom: .35em; }
.sh-cta p { max-width: 56ch; margin-inline: auto; color: var(--sh-text-dim); }
.sh-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }
/* Przed premiera przycisk pobierania sie nie renderuje; gdyby zabraklo tez
   adresu kontaktowego, pusty kontener zostawialby 26 px marginesu. */
.sh-cta__actions:empty { display: none; }

/* =========================================================================
   12. STOPKA
   ========================================================================= */

.sh-footer {
  margin-top: clamp(50px, 8vw, 96px);
  padding-block: clamp(38px, 5vw, 60px) 30px;
  border-top: 1px solid var(--sh-line);
  background: rgba(9,11,26,.6);
}
.sh-footer__grid {
  display: grid; gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  align-items: start;
}
@media (min-width: 780px) {
  .sh-footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }
  /* z aktywnym widgetem kolumn jest piec, wiec siatka musi o tym wiedziec */
  .sh-footer__grid--wide { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); }
}
.sh-footer__about p {
  margin: 14px 0 0; max-width: 42ch;
  font-size: .93rem; color: var(--sh-text-dim);
}
.sh-footer h2, .sh-footer .sh-footer__title {
  font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sh-text-faint); margin: 0 0 14px;
}
.sh-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.sh-footer a { color: var(--sh-text-dim); text-decoration: none; font-size: .94rem; font-weight: 600; }
.sh-footer a:hover { color: var(--sh-cyan); }
.sh-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center;
  margin-top: 34px; padding-top: 20px;
  border-top: 1px solid var(--sh-line);
  font-size: .84rem; color: var(--sh-text-faint);
}
.sh-footer__bottom p { margin: 0; }
.sh-footer__slogan {
  margin: 14px 0 0 !important;
  font-weight: 800; color: var(--sh-text) !important; font-size: .98rem !important;
}
/* Zastrzezenia prawne — maly druk, ale musi byc czytelny (Apple, znaki towarowe). */
.sh-footer__legal {
  margin: 18px 0 0; max-width: 90ch;
  font-size: .78rem; line-height: 1.6; color: var(--sh-text-faint);
}

/* =========================================================================
   13. TRESC WORDPRESSA (strony, wpisy, 404)
   ========================================================================= */

.sh-page { padding-block: clamp(40px, 6vw, 74px); }
.sh-page__header { max-width: 760px; margin-bottom: 34px; }
.sh-page__header h1 { margin-bottom: .25em; }
.sh-page__meta { font-size: .88rem; font-weight: 700; color: var(--sh-text-faint); }

.sh-panel {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--sh-radius-lg);
  background: rgba(23,26,48,.78);
  border: 1px solid var(--sh-line);
  box-shadow: var(--sh-shadow);
}

.sh-prose { max-width: 74ch; }
.sh-prose > * + * { margin-top: 1.1em; }
.sh-prose h2 { margin-top: 1.7em; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.sh-prose h3 { margin-top: 1.5em; }
.sh-prose h2, .sh-prose h3, .sh-prose h4 { color: var(--sh-text); }
.sh-prose p, .sh-prose li { color: rgba(255,255,255,.80); }
.sh-prose strong { color: var(--sh-text); }
.sh-prose ul, .sh-prose ol { padding-left: 1.35em; }
.sh-prose li + li { margin-top: .45em; }
.sh-prose blockquote {
  margin: 1.6em 0; padding: 14px 20px;
  border-left: 3px solid var(--sh-magenta);
  background: rgba(255,64,191,.07);
  border-radius: 0 14px 14px 0;
  color: rgba(255,255,255,.85);
}
.sh-prose pre {
  padding: 16px 18px; border-radius: 14px; overflow-x: auto;
  background: #0a0c1c; border: 1px solid var(--sh-line);
}
.sh-prose :not(pre) > code {
  padding: 2px 6px; border-radius: 6px;
  background: rgba(51,242,255,.10); color: #b6f7ff;
}
.sh-prose img, .sh-prose figure img { border-radius: 16px; }
.sh-prose figure { margin: 1.6em 0; }
.sh-prose figcaption, .wp-caption-text {
  margin-top: 8px; font-size: .84rem; color: var(--sh-text-faint); text-align: center;
}
.sh-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.sh-prose th, .sh-prose td { padding: 10px 12px; border-bottom: 1px solid var(--sh-line); text-align: left; }
.sh-prose th { color: var(--sh-cyan); font-weight: 800; }

.alignleft  { float: left;  margin: .4em 1.4em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.4em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide, .alignfull { max-width: 100%; }
.sticky, .gallery-caption, .bypostauthor { display: block; }

/* Lista wpisow */
.sh-posts { display: grid; gap: var(--sh-gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.sh-post {
  display: flex; flex-direction: column;
  padding: 24px; border-radius: var(--sh-radius-lg);
  background: rgba(23,26,48,.78); border: 1px solid var(--sh-line);
  transition: transform .22s ease, border-color .22s ease;
}
.sh-post:hover { transform: translateY(-4px); border-color: rgba(51,242,255,.35); }
.sh-post__thumb { margin: -24px -24px 18px; border-radius: var(--sh-radius-lg) var(--sh-radius-lg) 0 0; overflow: hidden; }
.sh-post__thumb img { width: 100%; object-fit: cover; }
.sh-post h2 { font-size: 1.2rem; margin-bottom: .35em; }
.sh-post h2 a { color: var(--sh-text); text-decoration: none; }
.sh-post h2 a:hover { color: var(--sh-cyan); }
.sh-post p { font-size: .94rem; color: var(--sh-text-dim); }
.sh-post__more { margin-top: auto; padding-top: 14px; font-weight: 800; font-size: .9rem; }

.sh-pagination { margin-top: 40px; display: flex; justify-content: center; }
.sh-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-pagination .page-numbers {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
  border-radius: 12px; text-decoration: none; font-weight: 800;
  color: var(--sh-text-dim); background: rgba(255,255,255,.05);
  border: 1px solid var(--sh-line);
}
.sh-pagination .page-numbers:hover { color: var(--sh-text); border-color: rgba(51,242,255,.4); }
.sh-pagination .page-numbers.current { color: #05060f; background: var(--sh-grad-action); border-color: transparent; }

/* 404 */
.sh-404 { text-align: center; padding-block: clamp(50px, 9vw, 110px); }
.sh-404__code {
  font-size: clamp(5rem, 22vw, 11rem); font-weight: 900; line-height: .85; letter-spacing: -.06em;
  background: var(--sh-grad-action);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 40px rgba(255,64,191,.3));
}
.sh-404 p { max-width: 48ch; margin-inline: auto; color: var(--sh-text-dim); }
.sh-404__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.sh-404 .search-form { display: flex; gap: 8px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* Formularze */
input[type="text"], input[type="email"], input[type="url"], input[type="search"],
input[type="tel"], input[type="password"], textarea, select {
  width: 100%; max-width: 100%;
  padding: 12px 16px;
  font: inherit; font-size: .96rem;
  color: var(--sh-text);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--sh-line-strong);
  border-radius: 14px;
}
input::placeholder, textarea::placeholder { color: var(--sh-text-faint); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--sh-cyan); box-shadow: 0 0 0 3px rgba(51,242,255,.18); }
input[type="submit"], button[type="submit"], .wp-block-search__button {
  width: auto; cursor: pointer; color: #05060f; font-weight: 800;
  background: var(--sh-grad-action); border: 0; padding: 13px 24px; border-radius: var(--sh-radius-pill);
}
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }

/* Komentarze — minimalnie, ale schludnie */
.sh-comments { margin-top: 46px; }
.sh-comments ol { list-style: none; padding: 0; display: grid; gap: 16px; }
.sh-comments .comment-body {
  padding: 18px 20px; border-radius: var(--sh-radius);
  background: rgba(23,26,48,.7); border: 1px solid var(--sh-line);
}
.sh-comments .children { margin-top: 16px; padding-left: clamp(12px, 3vw, 34px); }

/* =========================================================================
   14. ANIMACJE WEJSCIA + PREFERENCJE UZYTKOWNIKA
   ========================================================================= */

.sh-reveal { opacity: 0; transform: translateY(18px); }
.js .sh-reveal { transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.sh-reveal.is-visible, .no-js .sh-reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .sh-reveal { opacity: 1 !important; transform: none !important; }
}

@media (prefers-contrast: more) {
  :root { --sh-text-dim: rgba(255,255,255,.86); --sh-line: rgba(255,255,255,.28); }
}

/* Pasek administratora */
.admin-bar .sh-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sh-header { top: 46px; } }

@media print {
  body::before, body::after { display: none; }
  body { background: #fff; color: #000; }
  .sh-header, .sh-footer, .sh-hero__art { display: none; }
}
