/* ==========================================================================
   GamingCradle — arkusz stylów
   ========================================================================== */

/* --- Zmienne motywu --- */
:root {
  --c-canvas: #040506;
  --c-card: #07080a;
  --c-recessed: #111214;
  --c-badge: #1b1c1e;
  --c-slate: #2f3031;
  --c-iron: #454647;
  --c-smoke: #6a6b6c;
  --c-muted: #8b8c8d;
  --c-ash: #9c9c9d;
  --c-mist: #e6e6e6;
  --c-white: #ffffff;
  --c-coral: #ff6363;
  --c-ember: #452324;

  --c-line: #26282a;
  --c-line-strong: #363739;

  --font-ui:
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono:
    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;

  --t-eyebrow: 11px;
  --t-body: 16px;
  --t-body-lg: 18px;
  --t-sub: 20px;
  --t-h3: 24px;
  --t-h2: 32px;
  --t-h1: 40px;

  --s-8: 8px;
  --s-16: 16px;
  --s-24: 24px;
  --s-32: 32px;
  --s-40: 40px;
  --s-48: 48px;
  --s-56: 56px;
  --s-64: 64px;
  --s-80: 80px;
  --s-96: 96px;

  --r-btn: 8px;
  --r-badge: 6px;
  --r-card: 16px;
  --r-card-lg: 20px;
  --r-pill: 9999px;

  --key:
    rgba(255, 255, 255, 0.05) 0 1px 0 0 inset,
    rgba(255, 255, 255, 0.14) 0 0 0 1px, rgba(0, 0, 0, 0.2) 0 -1px 0 0 inset;
  --key-strong:
    rgba(255, 255, 255, 0.08) 0 1px 0 0 inset,
    rgba(255, 255, 255, 0.22) 0 0 0 1px, rgba(0, 0, 0, 0.3) 0 -1px 0 0 inset;

  --wrap: 1200px;
  --header-h: 72px;
}

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

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

body {
  margin: 0;
  background-color: var(--c-canvas);
  color: var(--c-mist);
  font-family: var(--font-ui);
  font-size: var(--t-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--s-16);
  color: var(--c-white);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

h1 {
  font-size: var(--t-h1);
  font-weight: 400;
  letter-spacing: 0.22px;
}
h2 {
  font-size: var(--t-h2);
  font-weight: 400;
}
h3 {
  font-size: var(--t-sub);
}
h4 {
  font-size: var(--t-body-lg);
}

p {
  margin: 0 0 var(--s-16);
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--c-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
a:hover {
  text-decoration-color: var(--c-coral);
}

ul,
ol {
  margin: 0 0 var(--s-16);
  padding-left: 1.25em;
}
li {
  margin-bottom: 6px;
}

:focus-visible {
  outline: 2px solid var(--c-coral);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--c-ember);
  color: var(--c-white);
}

/* --- Pomocnicze --- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--s-24);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--s-16);
  top: -80px;
  z-index: 200;
  background: var(--c-mist);
  color: #2b2c2d;
  padding: 10px 16px;
  border-radius: var(--r-btn);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: top 0.18s ease;
}
.skip-link:focus {
  top: 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--c-ash);
  margin: 0 0 var(--s-16);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--c-coral);
  border-radius: 2px;
}

.accent {
  color: var(--c-coral);
}

.lead {
  font-size: var(--t-body-lg);
  color: var(--c-ash);
  max-width: 62ch;
}

/* --- Przyciski --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-btn);
  border: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14px;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.16s ease,
    background-color 0.16s ease,
    box-shadow 0.16s ease,
    color 0.16s ease;
}

.btn--primary {
  background: var(--c-mist);
  color: #353637;
  box-shadow: rgba(0, 0, 0, 0.25) 0 4px 4px 0;
}
.btn--primary:hover {
  background: var(--c-white);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--c-mist);
  box-shadow: var(--key);
}
.btn--ghost:hover {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.04);
}

.btn--sm {
  padding: 9px 14px;
  font-size: 13px;
}

.btn__arrow {
  font-family: var(--font-mono);
  font-size: 13px;
}

/* --- Nagłówek --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
  background: rgba(4, 5, 6, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--c-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-16);
  min-height: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: 10px;
  background: var(--c-card);
  box-shadow: var(--key-strong);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% 30%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 99, 99, 0.55), transparent 65%);
}
.brand__mark span {
  position: relative;
  z-index: 1;
}
.brand__mark span + span {
  color: var(--c-coral);
}
.brand__name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1px;
  color: var(--c-white);
}
.brand__name .brand__accent {
  color: var(--c-coral);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s-24);
}
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--s-24);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list li {
  margin: 0;
}
.nav__link {
  color: var(--c-ash);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14px;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--c-white);
  border-bottom-color: var(--c-coral);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: var(--r-btn);
  box-shadow: var(--key);
  cursor: pointer;
  padding: 0;
}
.burger__box {
  display: block;
  width: 18px;
  height: 12px;
  position: relative;
}
.burger__box i {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--c-mist);
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.burger__box i:nth-child(1) {
  top: 0;
}
.burger__box i:nth-child(2) {
  top: 5px;
}
.burger__box i:nth-child(3) {
  top: 10px;
}
.burger[aria-expanded="true"] .burger__box i:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger__box i:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] .burger__box i:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* --- Sekcje --- */
.section {
  padding: var(--s-80) 0;
  border-top: 1px solid var(--c-line);
}
.section:first-of-type {
  border-top: 0;
}
.section--tight {
  padding: var(--s-64) 0;
}
.section__head {
  max-width: 72ch;
  margin-bottom: var(--s-40);
}
.section__head h2 {
  margin-bottom: 12px;
}

/* --- Hero --- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: var(--s-96) 0 var(--s-80);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  z-index: -2;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      90% 70% at 12% 78%,
      rgba(255, 99, 99, 0.2),
      transparent 62%
    ),
    linear-gradient(
      90deg,
      rgba(4, 5, 6, 0.96) 0%,
      rgba(4, 5, 6, 0.88) 38%,
      rgba(4, 5, 6, 0.55) 70%,
      rgba(4, 5, 6, 0.72) 100%
    ),
    linear-gradient(
      180deg,
      rgba(4, 5, 6, 0.72) 0%,
      rgba(4, 5, 6, 0.25) 40%,
      rgba(4, 5, 6, 0.96) 100%
    );
}
.hero__inner {
  max-width: 720px;
}
.hero__title {
  font-size: clamp(34px, 6.2vw, 56px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.22px;
  margin-bottom: var(--s-24);
}
.hero__lead {
  font-size: var(--t-body-lg);
  color: #cdcecf;
  max-width: 54ch;
  margin-bottom: var(--s-32);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero__meta {
  margin-top: var(--s-32);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.17px;
  color: var(--c-ash);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__meta span::after {
  content: " |";
  color: var(--c-slate);
}
.hero__meta span:last-child::after {
  content: "";
}

/* --- Katalog --- */
.catalog__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--s-32);
  padding-bottom: var(--s-24);
  border-bottom: 1px solid var(--c-line);
}
.filter {
  background: transparent;
  color: var(--c-ash);
  border: 0;
  box-shadow: var(--key);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08px;
  cursor: pointer;
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}
.filter:hover {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.05);
}
.filter[aria-pressed="true"] {
  background: var(--c-mist);
  color: #353637;
  box-shadow: rgba(0, 0, 0, 0.25) 0 4px 4px 0;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-24);
}
.catalog__empty {
  grid-column: 1 / -1;
  padding: var(--s-40);
  text-align: center;
  color: var(--c-ash);
  border: 1px dashed var(--c-line-strong);
  border-radius: var(--r-card);
}
.catalog__empty[hidden] {
  display: none;
}

/* Karta gry — wspólna baza */
.game {
  position: relative;
  border-radius: var(--r-card-lg);
  background: var(--c-card);
  box-shadow: var(--key);
  overflow: hidden;
  display: flex;
}
.game[hidden] {
  display: none;
}
.game__media {
  position: relative;
  overflow: hidden;
  background: var(--c-recessed);
}
.game__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.game:hover .game__media img {
  transform: scale(1.035);
}
.game__body {
  padding: var(--s-24);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.game__title {
  margin: 0;
  font-size: var(--t-h3);
  font-weight: 500;
}
.game__studio {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.17px;
  color: var(--c-muted);
  margin: 0;
}
.game__text {
  color: var(--c-ash);
  margin: 0;
}
.game__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.game__tags li {
  margin: 0;
}
.tag {
  display: inline-block;
  background: var(--c-badge);
  color: var(--c-mist);
  border-radius: var(--r-badge);
  padding: 3px 8px;
  font-size: 12px;
  letter-spacing: 0.1px;
}
.tag--genre {
  background: var(--c-ember);
  color: #ffd4d4;
}

.free-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #ffb3b3;
  background: rgba(69, 35, 36, 0.85);
  border-radius: var(--r-badge);
  padding: 5px 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.free-flag--float {
  position: absolute;
  z-index: 2;
}
.free-flag--tl {
  top: 14px;
  left: 14px;
}
.free-flag--br {
  bottom: 14px;
  right: 14px;
}

.verdict {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px var(--s-24);
  margin: 0;
  padding: 0;
  list-style: none;
}
.verdict li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.verdict b {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  font-weight: 400;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--c-smoke);
}
.verdict span {
  font-size: 14px;
  line-height: 1.35;
  color: var(--c-mist);
}
.verdict--stack {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 190px;
  padding: var(--s-16) var(--s-24) var(--s-16) 0;
  border-right: 1px solid var(--c-line);
}

.game__foot {
  margin-top: auto;
  padding-top: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-16);
}

/* Wariant: szeroki wiersz, obraz po lewej */
.game--wide {
  grid-column: span 12;
  flex-direction: row;
  align-items: stretch;
}
.game--wide .game__media {
  flex: 0 0 52%;
  min-height: 340px;
}
.game--wide .game__body {
  flex: 1;
  padding: var(--s-40);
  gap: var(--s-16);
  justify-content: center;
}
.game--wide .game__title {
  font-size: 30px;
}

/* Wariant: szeroki wiersz lustrzany, obraz po prawej */
.game--wide-rev {
  grid-column: span 12;
  flex-direction: row-reverse;
  align-items: stretch;
}
.game--wide-rev .game__media {
  flex: 0 0 46%;
  min-height: 320px;
}
.game--wide-rev .game__body {
  flex: 1;
  padding: var(--s-40);
  gap: var(--s-16);
  justify-content: center;
}
.game--wide-rev .game__title {
  font-size: 28px;
}

/* Wariant: panorama, obraz na górze, szerokość 7/12 */
.game--panorama {
  grid-column: span 7;
  flex-direction: column;
}
.game--panorama .game__media {
  aspect-ratio: 21 / 9;
  width: 100%;
}
.game--panorama .game__body {
  padding: var(--s-32);
}
.game--panorama .game__title {
  font-size: 26px;
}

/* Wariant: kafel pionowy 5/12 */
.game--tile {
  grid-column: span 5;
  flex-direction: column;
}
.game--tile .game__media {
  aspect-ratio: 16 / 9;
  width: 100%;
}
.game--tile .game__body {
  padding: var(--s-24);
  gap: 10px;
}
.game--tile .game__title {
  font-size: var(--t-sub);
}

/* Wariant: pasek poziomy 7/12 */
.game--strip {
  grid-column: span 7;
  flex-direction: row;
  align-items: stretch;
}
.game--strip .game__media {
  flex: 0 0 38%;
  min-height: 210px;
}
.game--strip .game__body {
  flex: 1;
  padding: var(--s-24);
  gap: 10px;
}
.game--strip .game__title {
  font-size: var(--t-sub);
}

.game__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.game__head .game__title {
  margin: 0;
}

/* --- Rozbiór (recenzja) --- */
.review {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-40);
}
.review--split {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}
.review--split-rev {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}
.review__figure {
  margin: 0;
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.review--split-rev .review__figure {
  order: 2;
}
.review__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-card);
  box-shadow: var(--key);
}
.review__caption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.17px;
  color: var(--c-muted);
}
.review__facts {
  list-style: none;
  margin: var(--s-24) 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--c-line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.review__facts li {
  margin: 0;
  background: var(--c-card);
  padding: 12px var(--s-16);
  display: flex;
  justify-content: space-between;
  gap: var(--s-16);
  font-size: 14px;
}
.review__facts b {
  color: var(--c-white);
  font-weight: 500;
}
.review__facts span {
  color: var(--c-ash);
  text-align: right;
}
.review__body p {
  color: var(--c-ash);
}
.review__body p strong {
  color: var(--c-mist);
  font-weight: 500;
}
.review__verdict {
  margin-top: var(--s-24);
  padding: var(--s-24);
  border-radius: var(--r-card);
  background: var(--c-recessed);
  box-shadow: var(--key);
  display: flex;
  align-items: center;
  gap: var(--s-24);
  flex-wrap: wrap;
}
.review__verdict p {
  margin: 0;
  flex: 1 1 260px;
  color: var(--c-ash);
  font-size: 15px;
}

/* --- Zestawy --- */
.sets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-24);
}
.set {
  border-radius: var(--r-card);
  background: var(--c-card);
  box-shadow: var(--key);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.set__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-recessed);
}
.set__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.set__body {
  padding: var(--s-24);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.set__kicker {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--c-coral);
}
.set__title {
  margin: 0;
  font-size: var(--t-sub);
}
.set__body p {
  color: var(--c-ash);
  font-size: 15px;
  margin: 0;
}
.set__pick {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
  font-size: 14px;
  color: var(--c-mist);
}
.set__pick b {
  color: var(--c-white);
  font-weight: 500;
}

/* --- Tabela porównawcza --- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-card);
  box-shadow: var(--key);
  background: var(--c-card);
}
.ctable {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 15px;
}
.ctable caption {
  caption-side: top;
  text-align: left;
  padding: var(--s-24) var(--s-24) 0;
  color: var(--c-muted);
  font-size: 14px;
}
.ctable th,
.ctable td {
  padding: 14px var(--s-16);
  text-align: left;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}
.ctable thead th {
  color: var(--c-white);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--font-mono);
  background: var(--c-recessed);
  white-space: nowrap;
}
.ctable tbody th {
  color: var(--c-white);
  font-weight: 500;
  white-space: nowrap;
}
.ctable td {
  color: var(--c-ash);
}
.ctable tbody tr:last-child th,
.ctable tbody tr:last-child td {
  border-bottom: 0;
}
.ctable tbody tr:hover td,
.ctable tbody tr:hover th {
  background: rgba(255, 255, 255, 0.025);
}

.glossary {
  margin: var(--s-40) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-16) var(--s-32);
}
.glossary__item {
  padding-left: 14px;
  border-left: 2px solid var(--c-ember);
}
.glossary dt {
  color: var(--c-white);
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 2px;
}
.glossary dd {
  margin: 0;
  color: var(--c-ash);
  font-size: 14px;
}

/* --- Formularz zapisu --- */
.subscribe {
  position: relative;
  border-radius: var(--r-card-lg);
  background:
    radial-gradient(
      120% 130% at 8% 100%,
      rgba(255, 99, 99, 0.16),
      transparent 58%
    ),
    var(--c-card);
  box-shadow: var(--key-strong);
  padding: var(--s-48);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-48);
  align-items: start;
}
.subscribe__intro h2 {
  margin-bottom: 12px;
}
.subscribe__intro p {
  color: var(--c-ash);
}
.subscribe__points {
  list-style: none;
  margin: var(--s-24) 0 0;
  padding: 0;
}
.subscribe__points li {
  position: relative;
  padding-left: 22px;
  color: var(--c-mist);
  font-size: 15px;
  margin-bottom: 10px;
}
.subscribe__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c-coral);
}

.form {
  display: grid;
  gap: var(--s-16);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
}
.form__field {
  display: grid;
  gap: 6px;
}
.form__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-mist);
  letter-spacing: 0.14px;
}
.form__label span {
  color: var(--c-smoke);
  font-weight: 400;
}
.form__input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-btn);
  padding: 11px 14px;
  color: var(--c-white);
  font-family: inherit;
  font-size: var(--t-body);
  line-height: 1.4;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}
.form__input:hover {
  border-color: var(--c-iron);
}
.form__input:focus {
  outline: 2px solid var(--c-coral);
  outline-offset: 1px;
  border-color: transparent;
}

.form__check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13px;
  color: var(--c-ash);
  line-height: 1.55;
}
.form__check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--c-coral);
  flex-shrink: 0;
}
.form__check a {
  color: var(--c-mist);
}

.form__note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.17px;
  color: var(--c-smoke);
  margin: 0;
}
.form__error {
  color: #ff9a9a;
  font-size: 13px;
  margin: 0;
}
.form__error[hidden] {
  display: none;
}
.form__submit {
  justify-self: start;
}

.success {
  display: none;
  gap: 10px;
  padding: var(--s-16) var(--s-24);
  border-radius: var(--r-card);
  background: rgba(89, 212, 153, 0.08);
  box-shadow: rgba(89, 212, 153, 0.35) 0 0 0 1px inset;
  color: #bff0d8;
  font-size: 15px;
}
.success.is-visible {
  display: block;
}
.success b {
  color: #d9f7e9;
  font-weight: 500;
}

/* --- Start / sprzęt --- */
.primer {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--s-48);
  align-items: start;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-16);
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: var(--s-24) var(--s-24) var(--s-24) 68px;
  border-radius: var(--r-card);
  background: var(--c-card);
  box-shadow: var(--key);
  margin: 0;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: var(--s-24);
  top: var(--s-24);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-coral);
  background: var(--c-recessed);
  border-radius: var(--r-badge);
  padding: 4px 8px;
}
.steps h3 {
  font-size: var(--t-body-lg);
  margin-bottom: 6px;
}
.steps p {
  color: var(--c-ash);
  font-size: 15px;
  margin: 0;
}

.primer__aside {
  display: grid;
  gap: var(--s-24);
}
.primer__figure {
  margin: 0;
}
.primer__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-card);
  box-shadow: var(--key);
}
.primer__figure figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-muted);
}
.note {
  padding: var(--s-24);
  border-radius: var(--r-card);
  background: var(--c-recessed);
  box-shadow: var(--key);
}
.note h3 {
  font-size: var(--t-body-lg);
}
.note p {
  color: var(--c-ash);
  font-size: 15px;
}
.note ul {
  color: var(--c-ash);
  font-size: 15px;
  margin-bottom: 0;
}

/* --- Galeria --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-24);
}
.gallery__item {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--c-card);
  box-shadow: var(--key);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__item--lg {
  grid-column: span 7;
}
.gallery__item--lg .gallery__frame {
  aspect-ratio: 16 / 9;
}
.gallery__item--sm {
  grid-column: span 5;
}
.gallery__item--sm .gallery__frame {
  aspect-ratio: 16 / 9;
}
.gallery__frame {
  overflow: hidden;
}
.gallery__item figcaption {
  padding: var(--s-16) var(--s-24) var(--s-24);
  color: var(--c-ash);
  font-size: 14px;
}
.gallery__item figcaption b {
  display: block;
  color: var(--c-white);
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 4px;
}

/* --- Standardy --- */
.standards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-24);
}
.standard {
  padding: var(--s-32);
  border-radius: var(--r-card);
  background: var(--c-card);
  box-shadow: var(--key);
}
.standard__num {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.8px;
  color: var(--c-coral);
  display: block;
  margin-bottom: 12px;
}
.standard h3 {
  font-size: var(--t-body-lg);
}
.standard p {
  color: var(--c-ash);
  font-size: 15px;
}
.standards__foot {
  margin-top: var(--s-32);
  padding: var(--s-24) var(--s-32);
  border-radius: var(--r-card);
  background: var(--c-recessed);
  box-shadow: var(--key);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-24);
  flex-wrap: wrap;
}
.standards__foot p {
  margin: 0;
  color: var(--c-ash);
  font-size: 15px;
  max-width: 68ch;
}

/* --- FAQ --- */
.faq {
  display: grid;
  gap: 12px;
}
.faq__item {
  border-radius: var(--r-card);
  background: var(--c-card);
  box-shadow: var(--key);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-16);
  padding: var(--s-24);
  background: transparent;
  border: 0;
  color: var(--c-white);
  font-family: inherit;
  font-size: var(--t-body-lg);
  font-weight: 500;
  text-align: left;
  line-height: 1.4;
  cursor: pointer;
}
.faq__q:hover {
  background: rgba(255, 255, 255, 0.03);
}
.faq__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: var(--r-pill);
  background: var(--c-recessed);
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.2s ease;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--c-coral);
  border-radius: 2px;
}
.faq__icon::before {
  width: 11px;
  height: 1.5px;
}
.faq__icon::after {
  width: 1.5px;
  height: 11px;
  transition: opacity 0.2s ease;
}
.faq__q[aria-expanded="true"] .faq__icon::after {
  opacity: 0;
}
.faq__a {
  padding: 0 var(--s-24) var(--s-24);
  color: var(--c-ash);
}
.faq__a[hidden] {
  display: none;
}
.faq__a p {
  max-width: 78ch;
}

/* --- Stopka --- */
.site-footer {
  border-top: 1px solid var(--c-line);
  padding: var(--s-64) 0 var(--s-40);
  background:
    linear-gradient(180deg, rgba(255, 99, 99, 0.04), transparent 40%),
    var(--c-canvas);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-40);
  padding-bottom: var(--s-40);
  border-bottom: 1px solid var(--c-line);
}
.footer__about p {
  color: var(--c-ash);
  font-size: 14px;
  max-width: 40ch;
  margin-top: var(--s-16);
}
.footer__col h3 {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--c-ash);
  margin-bottom: var(--s-16);
  font-weight: 400;
}
.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__col li {
  margin-bottom: 10px;
}
.footer__col a {
  color: var(--c-mist);
  font-size: 14px;
  text-decoration: none;
}
.footer__col a:hover {
  color: var(--c-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__bottom {
  padding-top: var(--s-24);
  display: grid;
  gap: 12px;
}
.footer__disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 0;
  max-width: 100ch;
}
.footer__disclaimer a {
  color: var(--c-ash);
}
.footer__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.17px;
  color: var(--c-smoke);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
.footer__meta span::after {
  content: " |";
  color: var(--c-slate);
}
.footer__meta span:last-child::after {
  content: "";
}

/* --- Baner cookies --- */
.cookie {
  position: fixed;
  left: var(--s-16);
  right: var(--s-16);
  bottom: var(--s-16);
  z-index: 120;
  display: none;
  border-radius: var(--r-card);
  background: rgba(11, 12, 14, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--key-strong);
  padding: var(--s-24);
}
.cookie.is-visible {
  display: block;
}
.cookie__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-24);
  flex-wrap: wrap;
}
.cookie__text {
  margin: 0;
  font-size: 14px;
  color: var(--c-ash);
  max-width: 74ch;
}
.cookie__text a {
  color: var(--c-mist);
}
.cookie__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* --- Do góry --- */
.to-top {
  position: fixed;
  right: var(--s-16);
  bottom: 96px;
  z-index: 110;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--r-pill);
  background: rgba(17, 18, 20, 0.9);
  box-shadow: var(--key-strong);
  color: var(--c-mist);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  font-size: 16px;
  line-height: 1;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  background: var(--c-recessed);
  color: var(--c-white);
}

/* --- Strony tekstowe (regulaminy, artykuł, kontakt) --- */
.page-head {
  padding: var(--s-64) 0 var(--s-40);
  border-bottom: 1px solid var(--c-line);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: -40% 55% auto -10%;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 99, 99, 0.14), transparent 65%);
  pointer-events: none;
}
.page-head h1 {
  max-width: 24ch;
  position: relative;
}
.page-head .lead {
  position: relative;
  margin-top: var(--s-16);
}
.page-head__meta {
  position: relative;
  margin-top: var(--s-24);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.17px;
  color: var(--c-smoke);
}

.prose {
  max-width: 78ch;
}
.prose h2 {
  font-size: var(--t-h3);
  margin-top: var(--s-48);
  padding-top: var(--s-24);
  border-top: 1px solid var(--c-line);
}
.prose h2:first-of-type {
  margin-top: var(--s-32);
}
.prose h3 {
  font-size: var(--t-body-lg);
  margin-top: var(--s-32);
}
.prose p,
.prose li {
  color: var(--c-ash);
}
.prose ul,
.prose ol {
  padding-left: 1.2em;
}
.prose__actions {
  margin-top: var(--s-48);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-24);
  margin-top: var(--s-32);
}
.contact-card {
  padding: var(--s-32);
  border-radius: var(--r-card);
  background: var(--c-card);
  box-shadow: var(--key);
}
.contact-card h3 {
  font-size: var(--t-body-lg);
}
.contact-card p {
  color: var(--c-ash);
  font-size: 15px;
}
.contact-card__role {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--c-coral);
  display: block;
  margin-bottom: 10px;
}
.people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-24);
  margin-top: var(--s-32);
}
.person {
  display: flex;
  gap: var(--s-16);
  padding: var(--s-24);
  border-radius: var(--r-card);
  background: var(--c-card);
  box-shadow: var(--key);
}
.person h3 {
  font-size: var(--t-body);
  margin-bottom: 2px;
}
.person__spec {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-muted);
  margin: 0 0 8px;
}
.person p {
  color: var(--c-ash);
  font-size: 14px;
  margin: 0;
}

.callout {
  margin-top: var(--s-32);
  padding: var(--s-24) var(--s-32);
  border-radius: var(--r-card);
  background: var(--c-recessed);
  box-shadow: var(--key);
}
.callout p {
  color: var(--c-ash);
  font-size: 15px;
}
.callout p:first-child {
  color: var(--c-mist);
}

/* --- Responsywność --- */
@media (max-width: 1100px) {
  .subscribe {
    padding: var(--s-40);
    gap: var(--s-32);
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-32);
  }
  .glossary {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  :root {
    --t-h1: 34px;
    --t-h2: 28px;
  }
  .nav__list {
    gap: var(--s-16);
  }
  .nav__link {
    font-size: 13px;
  }
  .game--panorama,
  .game--strip {
    grid-column: span 12;
  }
  .game--tile {
    grid-column: span 6;
  }
  .review--split,
  .review--split-rev {
    grid-template-columns: 1fr;
  }
  .review__figure {
    position: static;
  }
  .review--split-rev .review__figure {
    order: 0;
  }
  .sets {
    grid-template-columns: 1fr;
  }
  .standards {
    grid-template-columns: 1fr;
  }
  .primer {
    grid-template-columns: 1fr;
    gap: var(--s-32);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .gallery__item--lg,
  .gallery__item--sm {
    grid-column: span 6;
  }
}

@media (max-width: 860px) {
  .burger {
    display: inline-flex;
  }
  .nav {
    position: fixed;
    inset: 0 0 auto;
    top: var(--header-h);
    display: block;
    padding: var(--s-24);
    background: rgba(7, 8, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-line-strong);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0.18s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__list li {
    border-bottom: 1px solid var(--c-line);
  }
  .nav__link {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 0;
  }
  .nav__link[aria-current="page"] {
    border-bottom: 0;
    color: var(--c-coral);
  }
  .nav .btn {
    margin-top: var(--s-24);
    width: 100%;
  }

  .game--wide,
  .game--wide-rev {
    flex-direction: column;
  }
  .game--wide .game__media,
  .game--wide-rev .game__media {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .game--wide .game__body,
  .game--wide-rev .game__body {
    padding: var(--s-24);
  }
  .game--wide .game__title {
    font-size: var(--t-h3);
  }
  .game--wide-rev .game__title {
    font-size: var(--t-h3);
  }
  .game--strip {
    flex-direction: column;
  }
  .game--strip .game__media {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .game--tile {
    grid-column: span 12;
  }
  .subscribe {
    grid-template-columns: 1fr;
  }
  .people {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --t-h1: 30px;
    --t-h2: 25px;
    --t-h3: 21px;
    --s-80: 56px;
    --s-96: 64px;
  }
  .container {
    padding: 0 var(--s-16);
  }
  .hero {
    min-height: 0;
    padding: var(--s-64) 0 var(--s-56);
  }
  .hero__actions .btn {
    width: 100%;
  }
  .section {
    padding: var(--s-56) 0;
  }
  .subscribe {
    padding: var(--s-24);
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .gallery__item--lg,
  .gallery__item--sm {
    grid-column: span 12;
  }
  .glossary {
    grid-template-columns: 1fr;
  }
  .steps li {
    padding: var(--s-24) var(--s-16) var(--s-16) var(--s-16);
  }
  .steps li::before {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
  }
  .cookie {
    padding: var(--s-16);
  }
  .cookie__actions .btn {
    flex: 1 1 auto;
  }
  .to-top {
    bottom: 150px;
  }
  .review__facts li {
    flex-direction: column;
    gap: 2px;
  }
  .review__facts span {
    text-align: left;
  }
  .verdict--stack {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px var(--s-24);
    min-width: 0;
    padding: 0 0 var(--s-16) 0;
    border-right: 0;
    border-bottom: 1px solid var(--c-line);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .game:hover .game__media img {
    transform: none;
  }
}

@media print {
  .site-header,
  .cookie,
  .to-top,
  .hero__bg {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
}
