/* WickBurst — wygląd strony promocyjnej.
   Źródło: strona/style.css — tools/strona/zbuduj.py kopiuje go do hosting/assets/css/site.css
   i podmienia znaczniki „asset:” na adresy z sumą kontrolną. Barwy wzięte z gry: granat nocnego
   miasta, pomarańczowy lont, niebieski gracz i czerwony rywal z tablicy wyników. */

@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/rajdhani-700.woff2?v=4ce95a1329") format("woff2");
}

:root {
  --bg: #070b18;
  --bg-deep: #04060f;
  --panel: #0f1733;
  --line: rgba(140, 170, 255, 0.16);
  --line-strong: rgba(170, 195, 255, 0.3);
  --text: #eef2ff;
  --text-soft: #d3dbf4;
  --muted: #a7b1d4;
  --orange: #ff8a2a;
  --orange-hi: #ffb04d;
  --spark: #ffe39a;
  --blue: #37b6ff;
  --red: #ff5a47;
  --cyan: #3de0d2;
  --magenta: #c04bff;
  --card-bg: linear-gradient(180deg, rgba(25, 35, 74, 0.86), rgba(11, 17, 38, 0.92));
  --card-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --radius-sm: 14px;
  --radius: 18px;
  --radius-lg: 22px;
  --header: 68px;
  --font-display: "Rajdhani", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo",
    "Noto Sans JP", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", "Noto Sans JP", sans-serif;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 12% -5%, rgba(192, 75, 255, 0.1), transparent 60%),
    radial-gradient(900px 600px at 95% 30%, rgba(61, 224, 210, 0.06), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--orange-hi);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ffd08a;
}

p {
  margin: 0;
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.9rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

:lang(ja) h2,
:lang(ja) h3 {
  text-transform: none;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

:lang(ja) {
  line-break: strict;
}

:lang(ja) i {
  font-style: normal;
}

:lang(ja) body {
  word-break: auto-phrase;
}

html.seg:lang(ja) body {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.nw {
  white-space: nowrap;
}

:lang(ja) h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem);
}

:lang(ja) h3 {
  font-size: 1.3rem;
}

i {
  font-style: italic;
}

:focus-visible {
  outline: 3px solid var(--spark);
  outline-offset: 3px;
}

::selection {
  background: rgba(255, 138, 42, 0.45);
  color: #fff;
}

.nc {
  text-transform: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

.wrap {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 32px, 820px);
}

@media (min-width: 768px) {
  .wrap {
    width: min(100% - 64px, 1200px);
  }
  .wrap--narrow {
    width: min(100% - 64px, 820px);
  }
}

.skip {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--orange);
  color: #1b0b00;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip:focus {
  transform: none;
  color: #1b0b00;
}

/* ------------------------------------------------------------- lont (postęp przewijania) */

.fuse {
  position: fixed;
  inset: 0 0 auto;
  height: 4px;
  z-index: 70;
  pointer-events: none;
  --x: 0px;
}

/* Lina od iskry do prawej krawędzi; strona.js ustawia --x (piksele), część za ekranem jest niewidoczna. */
.fuse__rope {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 4px;
  right: 0;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, #d8b170 0 5px, #9c7338 5px 8px);
  opacity: 0.75;
  transform: translateX(var(--x));
}

.fuse__spark {
  position: absolute;
  top: 50%;
  left: 0;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: #fff7d6;
  box-shadow: 0 0 5px 2px #ffd27a, 0 0 14px 6px rgba(255, 138, 42, 0.75);
  transform: translateX(var(--x));
  animation: flicker 0.14s steps(2) infinite alternate;
}

@keyframes flicker {
  to {
    scale: 0.72;
    box-shadow: 0 0 4px 1px #ffd27a, 0 0 10px 4px rgba(255, 138, 42, 0.55);
  }
}

/* ------------------------------------------------------------- przyciski, etykiety */

.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: var(--h);
  padding: 0 1.4em;
  border: 0;
  border-radius: 999px;
  font: 700 1.05rem/1 var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn .icon {
  width: 1.15em;
  height: 1.15em;
}

.btn--primary {
  color: #1b0b00;
  background: linear-gradient(180deg, #ffc163 0%, #ff8a2a 55%, #f26b12 100%);
  box-shadow: 0 0 0 2px rgba(20, 8, 0, 0.55), 0 10px 30px -8px rgba(255, 138, 42, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn--primary:hover {
  color: #1b0b00;
  transform: translateY(-1px);
  box-shadow: 0 0 0 2px rgba(20, 8, 0, 0.55), 0 14px 38px -8px rgba(255, 138, 42, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn--primary:active {
  transform: translateY(1px);
}

.btn--ghost {
  color: var(--text);
  background: rgba(10, 16, 36, 0.5);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px var(--orange);
}

.btn--lg {
  --h: 56px;
  padding: 0 1.7em;
  font-size: 1.15rem;
}

.btn--sm {
  --h: 40px;
  padding: 0 1.1em;
  font-size: 0.95rem;
}

:lang(ja) .btn {
  letter-spacing: 0.02em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  color: var(--orange-hi);
  font: 700 0.95rem/1.2 var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  flex: none;
  width: 38px;
  height: 10px;
  background:
    radial-gradient(circle at calc(100% - 5px) 50%, #fff7d6 0 2px, rgba(255, 176, 77, 0.8) 3px, transparent 5.5px),
    linear-gradient(90deg, transparent, #b98a45 40%, #e0b774) 0 50% / calc(100% - 6px) 2px no-repeat;
}

:lang(ja) .kicker {
  letter-spacing: 0.08em;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.03rem, 0.98rem + 0.28vw, 1.18rem);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(10, 16, 36, 0.6);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text-soft);
  font: 700 0.9rem/1 var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.chips--section {
  margin-top: 28px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font: 700 0.8rem/1 var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag .icon {
  width: 0.95em;
  height: 0.95em;
}

.tag--free {
  background: var(--cyan);
  color: #03201d;
}

.tag--full {
  background: rgba(7, 11, 24, 0.82);
  color: var(--orange-hi);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 42, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* ------------------------------------------------------------- nagłówek */

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.25s, box-shadow 0.25s;
}

.top__in {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header);
}

.is-scrolled .top,
.top--solid,
.top.is-open {
  background: rgba(7, 11, 24, 0.82);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -12px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}

.brand {
  order: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font: 700 1.55rem/1 var(--font-display);
  letter-spacing: 0.02em;
}

.brand:hover {
  color: var(--text);
}

.brand b {
  color: var(--orange);
}

.brand__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.menu {
  order: 2;
  margin-left: auto;
}

.lang {
  order: 3;
}

.top__cta {
  order: 4;
}

.burger {
  order: 5;
}

.menu__cta {
  display: none;
}

.menu ul {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  display: block;
  padding: 10px 11px;
  border-radius: 10px;
  color: var(--muted);
  font: 700 1rem/1 var(--font-display);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.menu a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.lang {
  position: relative;
}

.menu + .lang {
  margin-left: 4px;
}

.lang summary {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--text-soft);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font: 700 0.95rem/1 var(--font-display);
  letter-spacing: 0.08em;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.lang summary::-webkit-details-marker {
  display: none;
}

.lang summary .icon {
  width: 18px;
  height: 18px;
}

.lang summary:hover,
.lang[open] summary {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.lang__list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 5;
  min-width: 200px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
}

.lang__list a,
.foot__langs a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
}

.lang__list a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.lang__list a[aria-current] {
  color: var(--orange-hi);
}

.lang__code {
  color: var(--muted);
  font: 700 0.85rem/1 var(--font-display);
  letter-spacing: 0.1em;
}

.burger {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -6px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 22px;
  height: 2.4px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s, background-color 0.25s;
}

.burger span {
  position: relative;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger span::before {
  top: -7px;
}

.burger span::after {
  top: 7px;
}

.is-open .burger span {
  background: transparent;
}

.is-open .burger span::before {
  transform: translateY(7px) rotate(45deg);
}

.is-open .burger span::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1099px) {
  .burger {
    display: grid;
  }
  .menu {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 16px 20px;
    background: #070b18;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -10px rgba(0, 0, 0, 0.7);
  }
  .is-open .menu {
    display: block;
  }
  .menu ul {
    flex-direction: column;
    width: min(100%, 1200px);
    margin-inline: auto;
  }
  .menu a {
    padding: 14px 12px;
    font-size: 1.15rem;
    color: var(--text-soft);
  }
  .menu + .lang {
    margin-left: auto;
  }
}

@media (max-width: 520px) {
  .top__cta {
    display: none;
  }
  .menu__cta {
    display: block;
    margin-top: 10px;
  }
  .menu .menu__cta a {
    display: flex;
    padding: 0 1.1em;
    color: #1b0b00;
    font-size: 1.05rem;
  }
}

@media (max-width: 359px) {
  .top__in {
    gap: 8px;
  }
  .brand {
    gap: 8px;
    font-size: 1.3rem;
  }
  .brand__icon {
    width: 32px;
    height: 32px;
  }
  .lang summary {
    padding: 0 9px;
  }
}

/* ------------------------------------------------------------- hero */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header) + 28px);
  overflow-x: clip; /* zasłona pod tekstem jest szersza niż ekran; w pionie postacie wystają do następnej sekcji */
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero__media > picture,
.hero__media img,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 75% at 50% 42%, rgba(7, 11, 24, 0.05) 0%, rgba(7, 11, 24, 0.55) 62%, rgba(7, 11, 24, 0.85) 100%),
    linear-gradient(180deg, rgba(7, 11, 24, 0.72) 0%, rgba(7, 11, 24, 0.12) 26%, rgba(7, 11, 24, 0.3) 58%,
      rgba(7, 11, 24, 0.92) 88%, var(--bg) 100%);
}

.hero__in {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  text-align: center;
}

/* Zasłona pod tekstem: na klatkach z wybuchami kontrast opisu spadał do 1,6:1 (cel ≥ 4,5:1). */
.hero__in::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 48%;
  width: min(1180px, 140%);
  height: 135%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(7, 11, 24, 0.66), rgba(7, 11, 24, 0.42) 60%, rgba(7, 11, 24, 0));
  pointer-events: none;
}

.kicker--hero {
  color: var(--spark);
  text-shadow: 0 1px 2px #000, 0 0 14px rgba(0, 0, 0, 0.95);
}

@media (max-width: 359px) {
  .kicker--hero {
    letter-spacing: 0.1em;
  }
}

.hero__logo {
  line-height: 0;
}

.hero__logo img {
  width: min(720px, 86vw);
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.6));
}

.hero__tagline {
  max-width: 900px;
  font: 700 clamp(1.4rem, 0.95rem + 1.9vw, 2.35rem)/1.12 var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}

:lang(ja) .hero__tagline {
  text-transform: none;
  line-height: 1.35;
}

.hero__lead {
  max-width: 640px;
  color: var(--text-soft);
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.18rem);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.85);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.hero__soon {
  max-width: 36em;
  color: var(--text-soft);
  font: 700 1.12rem/1.35 var(--font-display);
  letter-spacing: 0.03em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.hero__soon--after {
  font-size: 0.95rem;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin: 0 10px 0.12em 0;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--spark);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 190, 90, 0.75);
  }
  75%,
  100% {
    box-shadow: 0 0 0 10px rgba(255, 190, 90, 0);
  }
}

.hero__lineup {
  position: relative;
  z-index: 1;
  width: min(760px, 96vw);
  height: auto;
  margin: 4px auto -4.5%;
  pointer-events: none;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.55));
}

.hero__toggle,
.clip__play {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 11, 24, 0.6);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--text);
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero__toggle {
  position: absolute;
  right: max(16px, calc((100% - 1200px) / 2));
  top: calc(var(--header) + 12px);
  z-index: 2;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .hero__toggle {
    right: max(32px, calc((100% - 1200px) / 2));
  }
}

/* Telefon w poziomie: przycisk zwiastuna ma się zmieścić na pierwszym ekranie. */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    padding-top: calc(var(--header) + 8px);
  }
  .hero__in {
    gap: 10px;
  }
  .hero__logo img {
    width: min(460px, 56vw);
  }
  .hero__tagline {
    font-size: 1.3rem;
  }
  .hero__lead {
    max-width: 720px;
    font-size: 0.98rem;
  }
  .hero__toggle {
    top: calc(var(--header) + 6px);
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: calc(var(--header) + 68px);
  }
  .hero__toggle {
    width: 40px;
    height: 40px;
    top: calc(var(--header) + 10px);
  }
}

.hero__toggle:hover,
.clip__play:hover {
  opacity: 1;
  box-shadow: inset 0 0 0 1.5px var(--orange);
}

.hero__toggle .icon,
.clip__play .icon {
  width: 20px;
  height: 20px;
}

.icon--play,
.is-paused .icon--pause {
  display: none;
}

.is-paused .icon--play {
  display: block;
}

.no-js .hero__toggle {
  display: none;
}

/* ------------------------------------------------------------- sekcje */

.section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(60px, 7vw, 104px);
}

.section--after-hero {
  padding-top: clamp(84px, 9vw, 128px);
}

.section--alt::before,
.section--floor::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.section--alt::before {
  background: linear-gradient(180deg, transparent, rgba(22, 30, 70, 0.5) 18%, rgba(22, 30, 70, 0.5) 82%, transparent);
}

.section--floor::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23d9b56a' stroke-opacity='.2'%3E%3Crect x='.5' y='.5' width='95' height='95' rx='3'/%3E%3Ccircle cx='48' cy='48' r='9'/%3E%3Cpath d='M48 35v26M35 48h26'/%3E%3C/g%3E%3C/svg%3E") center / 96px 96px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 10%, transparent 75%);
  opacity: 0.55;
}

.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 780px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}

.section__head h2 {
  text-shadow: 0 4px 30px rgba(255, 138, 42, 0.18);
}

/* ------------------------------------------------------------- rozgrywka */

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 700px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature:first-child {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .features {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
  .feature,
  .feature:first-child {
    grid-column: span 2;
  }
  .feature:nth-child(-n + 2) {
    grid-column: span 3;
  }
}

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.feature:hover {
  border-color: rgba(255, 138, 42, 0.45);
  box-shadow: var(--card-shadow), 0 0 0 1px rgba(255, 138, 42, 0.2), 0 20px 50px -20px rgba(255, 138, 42, 0.35);
}

.feature__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0f22;
}

.feature__media video,
.feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(11, 17, 38, 0.85));
  pointer-events: none;
}

.clip__play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
}

.clip__play[hidden] {
  display: none;
}

.feature__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 22px 24px;
}

.feature__body p {
  color: var(--text-soft);
}

/* ------------------------------------------------------------- tryby */

.score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 auto clamp(30px, 4vw, 44px);
}

.score__round {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(9, 14, 32, 0.85);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font: 700 0.9rem/1 var(--font-display);
  letter-spacing: 0.18em;
}

.score__row {
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  align-items: center;
  gap: 10px;
  width: min(520px, 100%);
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(9, 14, 32, 0.88);
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px -20px rgba(0, 0, 0, 0.8);
}

.score__name {
  position: relative;
  padding-bottom: 8px;
  font: 700 clamp(1.25rem, 1rem + 1.2vw, 1.8rem)/1 var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.score__name::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 3px;
  width: 100%;
  border-radius: 3px;
}

.score__name--you {
  color: var(--blue);
  text-align: right;
}

.score__name--you::after {
  right: 0;
  background: linear-gradient(90deg, transparent, var(--blue));
}

.score__name--rival {
  color: var(--red);
}

.score__name--rival::after {
  left: 0;
  background: linear-gradient(90deg, var(--red), transparent);
}

.score__num {
  display: grid;
  place-items: center;
  width: clamp(48px, 10vw, 60px);
  aspect-ratio: 1;
  border-radius: 12px;
  color: #fff;
  font: 700 clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem)/1 var(--font-display);
}

.score__num--you {
  background: linear-gradient(180deg, #1f79b4, #11466f);
  box-shadow: inset 0 0 0 2px rgba(55, 182, 255, 0.6), 0 0 24px -6px rgba(55, 182, 255, 0.7);
}

.score__num--rival {
  background: linear-gradient(180deg, #b83a2c, #6f1d15);
  box-shadow: inset 0 0 0 2px rgba(255, 90, 71, 0.6), 0 0 24px -6px rgba(255, 90, 71, 0.7);
}

.modes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 860px) {
  .modes {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.mode {
  --c: var(--orange);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  background:
    radial-gradient(90% 60% at 0% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%),
    var(--card-bg);
  box-shadow: var(--card-shadow);
}

.mode p {
  color: var(--text-soft);
}

.mode--online {
  --c: var(--blue);
}

.mode--cpu {
  --c: var(--red);
}

.mode--guest {
  --c: var(--cyan);
}

.mode__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 6px;
  border-radius: 15px;
  background: rgba(255, 138, 42, 0.14);
  background: color-mix(in srgb, var(--c) 16%, transparent);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 42, 0.45);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 50%, transparent);
  color: var(--c);
}

.mode__icon .icon {
  width: 28px;
  height: 28px;
}

@media (min-width: 600px) and (max-width: 859px) {
  .mode {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 18px;
    align-items: start;
  }
  .mode__icon {
    grid-row: span 2;
    margin: 0;
  }
}

/* ------------------------------------------------------------- areny */

.arenas {
  display: flex;
  gap: 16px;
  margin: 0 -16px;
  padding: 4px 16px 18px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 138, 42, 0.5) transparent;
}

.arena {
  flex: 0 0 min(82%, 340px);
  scroll-snap-align: start;
}

@media (min-width: 600px) {
  .arena {
    flex-basis: calc((100% - 16px) / 2.15);
  }
}

@media (max-width: 899px) {
  .js .arenas > .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 900px) {
  .arenas {
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: visible;
    gap: 20px;
  }
  .arena {
    flex: 0 0 calc((100% - 3 * 20px) / 4);
  }
}

.arena figure {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  transition: border-color 0.25s, transform 0.25s;
}

.arena:hover figure {
  border-color: rgba(255, 138, 42, 0.45);
}

.arena__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0a0f22;
}

.arena__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.arena:hover .arena__img img {
  transform: scale(1.05);
}

.arena__img .tag {
  position: absolute;
  top: 12px;
  left: 12px;
}

.arena figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px 20px;
}

.arena__name {
  font-size: 1.4rem;
}

.arena figcaption p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.45;
}

/* ------------------------------------------------------------- postacie */

.chars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 960px) {
  .chars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.char {
  --c: var(--orange);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 36px;
  padding: 0 14px 22px;
  border: 1px solid var(--line-strong);
  border: 1px solid color-mix(in srgb, var(--c) 32%, var(--line));
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(24, 34, 72, 0.9), rgba(10, 15, 34, 0.96));
  background:
    radial-gradient(110% 70% at 50% 8%, color-mix(in srgb, var(--c) 34%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(24, 34, 72, 0.9), rgba(10, 15, 34, 0.96));
  box-shadow: var(--card-shadow);
  text-align: center;
}

.char--fuse {
  --c: #ff5a47;
}

.char--diver {
  --c: #e2a24a;
}

.char--mole {
  --c: #ff9a5c;
}

.char--diggerbot {
  --c: #ffc53d;
}

.char__art {
  width: 100%;
  margin-top: -36px;
  aspect-ratio: 4 / 5;
}

.char__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.55));
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1.25);
}

.char:hover .char__art img {
  transform: translateY(-8px) rotate(-2deg);
}

.char__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.char__body p {
  margin-bottom: 8px;
}

.char h3 {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}

.char p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.4;
}

.char .tag {
  margin-top: auto;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
}

@media (max-width: 479px) {
  .char .tag {
    white-space: nowrap;
    gap: 4px;
    padding: 6px 8px;
    font-size: 0.7rem;
    letter-spacing: 0.03em;
  }
}

:lang(ja) .char h3 {
  font-size: clamp(0.9rem, 0.35rem + 2.6vw, 1.6rem);
  letter-spacing: 0;
}

:lang(ja) .char p {
  font-size: clamp(0.8rem, 0.45rem + 2vw, 0.97rem);
}

/* ------------------------------------------------------------- zrzuty */

.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shots li:first-child {
  grid-column: 1 / -1;
}

@media (min-width: 900px) {
  .shots {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .shots li:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.shots li {
  display: flex;
}

.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #0a0f22;
  box-shadow: var(--card-shadow);
  cursor: zoom-in;
}

.shot img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.shot:hover img {
  transform: scale(1.04);
}

/* ------------------------------------------------------------- cena */

.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

@media (min-width: 760px) {
  .plans {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}

.plan--full {
  border-color: rgba(255, 138, 42, 0.55);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255, 138, 42, 0.2), transparent 70%),
    var(--card-bg);
  box-shadow: var(--card-shadow), 0 0 0 1px rgba(255, 138, 42, 0.2), 0 30px 70px -26px rgba(255, 138, 42, 0.45);
}

.plan h3 {
  font-size: 2.1rem;
}

.plan--full h3 {
  color: var(--orange-hi);
}

.plan__sub {
  color: var(--muted);
  font: 700 1.05rem/1.3 var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

:lang(ja) .plan__sub {
  text-transform: none;
}

.checks {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-soft);
}

.checks li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%233de0d2'/%3E%3Cpath d='M6.8 12.4l3.3 3.3 7-7.1' fill='none' stroke='%2303201d' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.plan--full .checks li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23ff8a2a'/%3E%3Cpath d='M6.8 12.4l3.3 3.3 7-7.1' fill='none' stroke='%231b0b00' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.plans__note {
  margin-top: 26px;
  color: var(--text-soft);
  font: 700 1.1rem/1.3 var(--font-display);
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

:lang(ja) .plans__note {
  text-transform: none;
}

/* ------------------------------------------------------------- pobieranie */

.download {
  overflow: hidden;
}

.download::after {
  content: "";
  position: absolute;
  inset: 20% -10% auto;
  height: 60%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 138, 42, 0.16), transparent 70%);
  pointer-events: none;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.platforms:has(> li:only-child) {
  max-width: 320px;
}

.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 18px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}

.platform .icon {
  width: 42px;
  height: 42px;
  color: var(--text-soft);
}


.platform__name {
  font: 700 1.45rem/1.1 var(--font-display);
  letter-spacing: 0.02em;
}

.pill {
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 138, 42, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 42, 0.5);
  color: var(--orange-hi);
  font: 700 0.85rem/1 var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 599px) {
  .platforms {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 460px;
  }
  .platform {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
    row-gap: 6px;
    padding: 16px 18px;
    text-align: left;
  }
  .platform .icon {
    grid-row: span 2;
    width: 32px;
    height: 32px;
  }
  .platform__name {
    font-size: 1.25rem;
  }
  .pill {
    justify-self: start;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 0 auto 22px;
}

.badges--hero {
  margin: 4px 0 0;
}

.badge {
  display: block;
  border-radius: 10px;
}

.badge img {
  width: auto;
  max-width: none;
  height: 54px;
}

.badge--google-play img {
  height: 70.3px;
  margin: -8.2px 0;
}

.badge--google-play:lang(en) img {
  height: 80.4px;
  margin: -13.2px;
}

@media (max-width: 420px) {
  .badge img {
    height: 44px;
  }
  .badge--google-play img {
    height: 57.3px;
    margin: -6.65px 0;
  }
  .badge--google-play:lang(en) img {
    height: 65.5px;
    margin: -10.75px;
  }
}

/* ------------------------------------------------------------- pytania */

.faq {
  display: grid;
  gap: 10px;
}

.qa {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  transition: border-color 0.2s;
}

.qa[open] {
  border-color: rgba(255, 138, 42, 0.4);
}

.qa summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font: 700 1.2rem/1.25 var(--font-display);
  letter-spacing: 0.01em;
  cursor: pointer;
  list-style: none;
}

:lang(ja) .qa summary {
  font-size: 1.05rem;
  line-height: 1.45;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary .icon {
  width: 22px;
  height: 22px;
  color: var(--orange);
  transition: transform 0.25s;
}

.qa[open] summary .icon {
  transform: rotate(45deg);
}

.qa__a {
  padding: 0 20px 20px;
  color: var(--text-soft);
}

.faq__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  text-align: center;
}

.faq__contact .icon {
  width: 22px;
  height: 22px;
  color: var(--orange-hi);
}

@media (max-width: 599px) {
  .faq__contact {
    flex-direction: column;
    gap: 8px;
  }
}

.foot__note {
  color: var(--muted);
}

/* ------------------------------------------------------------- stopka */

.foot {
  padding: 52px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  color: var(--muted);
  font-size: 0.95rem;
}

.foot__in {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .foot__in {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
}

.foot__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.foot__brand img {
  border-radius: 12px;
}

.foot__name {
  color: var(--text);
  font: 700 1.5rem/1 var(--font-display);
}

.foot__name b {
  color: var(--orange);
}

.foot__links,
.foot__langs {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot__links a {
  display: inline-block;
  padding: 6px 0;
  color: var(--text-soft);
  text-decoration: none;
}

.foot__links a:hover,
.foot__langs a:hover {
  color: var(--orange-hi);
  text-decoration: underline;
}

.foot__langs {
  grid-template-columns: repeat(2, max-content);
  column-gap: 28px;
}

.foot__langs a {
  display: inline-block;
  padding: 6px 0;
  color: var(--text-soft);
}

.foot__langs .lang__code {
  display: none;
}

.foot__langs a[aria-current] {
  color: var(--orange-hi);
}

.foot__legal,
.foot__tm {
  grid-column: 1 / -1;
  font-size: 0.85rem;
}

.foot__legal {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.foot__tm {
  margin-top: -16px;
  color: #7f89b0;
}

/* ------------------------------------------------------------- okna (zwiastun, zrzuty) */

dialog:not([open]) {
  display: none;
}

dialog {
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}

dialog::backdrop {
  background: rgba(3, 5, 12, 0.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal {
  width: min(1100px, 94vw);
}

.modal--tall {
  width: min(430px, 92vw);
}

.modal__video {
  width: 100%;
  max-height: 86vh;
  max-height: 86dvh;
  border-radius: var(--radius-sm);
  background: #000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}

.modal__close,
.lightbox__nav {
  position: fixed;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 51, 0.9);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--text);
  cursor: pointer;
}

.modal__close {
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
}

.modal__close:hover,
.lightbox__nav:hover {
  box-shadow: inset 0 0 0 1.5px var(--orange);
}

.modal__close .icon,
.lightbox__nav .icon {
  width: 24px;
  height: 24px;
}

.lightbox {
  width: min(1500px, 96vw);
}

.lightbox__fig {
  margin: 0;
}

.lightbox__fig img {
  width: 100%;
  height: auto;
  max-height: 84vh;
  max-height: 84dvh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox__fig figcaption {
  max-width: 900px;
  margin: 12px auto 0;
  color: var(--text-soft);
  text-align: center;
}

.lightbox__count {
  position: fixed;
  top: max(24px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font: 700 1rem/1 var(--font-display);
  letter-spacing: 0.12em;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: max(10px, env(safe-area-inset-left));
}

.lightbox__nav--next {
  right: max(10px, env(safe-area-inset-right));
}

@media (min-width: 768px) {
  .lightbox {
    width: min(1500px, 100vw - 136px);
  }
}

@media (max-width: 767px) {
  .lightbox__nav {
    top: auto;
    bottom: max(16px, env(safe-area-inset-bottom));
    transform: none;
  }
}

/* ------------------------------------------------------------- strony proste (prawne, 404) */

.page__main {
  padding: calc(var(--header) + 44px) 0 90px;
}

.top__back {
  order: 2;
  margin-left: auto;
}

.legal h1 {
  margin-bottom: 10px;
  font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.5rem);
  text-transform: uppercase;
}

.legal h2 {
  margin: 38px 0 12px;
  color: var(--orange-hi);
  font-size: 1.45rem;
  text-transform: none;
  letter-spacing: 0.01em;
}

.legal .sub {
  color: var(--muted);
}

.legal__switch {
  margin: 0 0 18px;
  font-weight: 600;
}

.legal .card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  color: var(--text-soft);
}

.legal .card > * + * {
  margin-top: 10px;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.legal td,
.legal th {
  padding: 9px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal th {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal ol,
.legal ul {
  padding-left: 1.3em;
}

.legal b {
  color: var(--text);
}

@media (max-width: 640px) {
  .legal table,
  .legal tbody,
  .legal tr,
  .legal td,
  .legal th {
    display: block;
  }
  .legal tr:first-child {
    display: none;
  }
  .legal tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .legal td {
    padding: 2px 0;
    border: 0;
  }
  .legal td:first-child {
    color: var(--text);
    font-weight: 700;
  }
}

.notfound {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 30px 0;
  text-align: center;
}

.notfound__boom {
  background: linear-gradient(180deg, #fff 10%, #ffb04d 55%, #ff6a10 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font: 700 clamp(6rem, 22vw, 11rem)/0.9 var(--font-display);
  filter: drop-shadow(0 8px 34px rgba(255, 138, 42, 0.45));
}

.notfound h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  text-transform: uppercase;
}

.notfound [hidden],
[hidden] {
  display: none !important;
}

/* ------------------------------------------------------------- pojawianie się przy przewijaniu */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .fuse__spark,
  .dot {
    animation: none;
  }
  .char:hover .char__art img,
  .arena:hover .arena__img img,
  .shot:hover img {
    transform: none;
  }
}

@media print {
  .top,
  .fuse,
  .skip,
  .hero__media,
  .hero__toggle,
  .clip,
  .clip__play,
  .hero__cta,
  dialog {
    display: none !important;
  }
  *,
  *::before,
  *::after {
    color: #000 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .section,
  .hero {
    min-height: 0;
    padding-block: 16px;
  }
}
