/* Wildcat District – style.
   Kolor akcentu ustawiasz w panelu admina (Ustawienia → Kolor akcentu). */

:root {
  --accent: #f4030f;
  --accent-2: color-mix(in srgb, var(--accent) 82%, #fff);
  --accent-soft: color-mix(in srgb, var(--accent) 16%, transparent);
  --bg: #0a0708;
  --bg-2: #0f0b0c;
  --surface: #151011;
  --surface-2: #1d1517;
  --surface-3: #261b1e;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #f6f2f2;
  --muted: #aa9ea0;
  --dim: #8f8385;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px;
  --pad: clamp(1rem, 4vw, 2.5rem);
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: .95; margin: 0; text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
p { margin: 0 0 1em; max-width: 64ch; }
button { font-family: inherit; color: inherit; }
dl, dd { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip:focus { left: 0; }
.muted { color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- Layout sekcji ---------- */
.sec { max-width: var(--wrap); margin: 0 auto; padding: clamp(4rem, 9vw, 7.5rem) var(--pad); position: relative; }
.sec h2 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 900; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.sec-intro { color: var(--muted); font-size: 1.15rem; max-width: 46ch; margin: 0; }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1rem; font: 700 .95rem/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.eyebrow-num { color: var(--accent); font-weight: 800; letter-spacing: .08em; }
.eyebrow-num::after { content: ""; display: inline-block; width: 34px; height: 1px; background: var(--line-2); vertical-align: middle; margin-left: .8rem; }
.eyebrow-plain { color: var(--accent-2); }
.eyebrow-plain::before { content: ""; width: 34px; height: 2px; background: var(--accent); }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0 var(--pad); padding-top: env(safe-area-inset-top, 0px); transition: background .35s, border-color .35s, backdrop-filter .35s, transform .4s var(--ease), top .3s; border-bottom: 1px solid transparent; }
.top.hide { transform: translateY(calc(-100% - var(--ann-h, 0px))); }
.top::before { content: ""; position: absolute; inset: 0 0 -40px 0; background: linear-gradient(rgba(0,0,0,.65), transparent); pointer-events: none; z-index: -1; transition: opacity .35s; }
.top.solid { background: rgba(10, 7, 8, .78); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-color: var(--line); }
.top.solid::before { opacity: 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand img { width: 46px; height: auto; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1; white-space: nowrap; }
.brand-name b { color: var(--accent); font-weight: 900; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem); }
.nav ul { display: flex; gap: clamp(.9rem, 2.2vw, 2rem); }
.nav ul a { position: relative; text-decoration: none; font: 700 1.08rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; padding: .5rem 0; color: #e9e2e3; transition: color .2s; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav ul a:hover, .nav ul a.active, .nav ul a[aria-current="page"] { color: #fff; }
.nav ul a:hover::after, .nav ul a.active::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-side { display: flex; align-items: center; gap: 1rem; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 99px; padding: 3px; }
.lang button { font: 700 .82rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; background: transparent; color: var(--muted); border: 0; border-radius: 99px; padding: .42rem .62rem; cursor: pointer; transition: background .2s, color .2s; }
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { background: var(--text); color: #000; }
.lang:empty { display: none; }
.menu-btn { display: none; width: 46px; height: 46px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 50%; cursor: pointer; padding: 0; place-content: center; gap: 5px; flex: none; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 2rem; padding: 1.5rem var(--pad) calc(2rem + env(safe-area-inset-bottom, 0px)); background: rgba(10, 7, 8, .97); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; overflow-y: auto; }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 1rem 0; font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 800; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav-side { justify-content: space-between; }
  .brand-name { font-size: 1.25rem; }
}
@media (max-width: 380px) { .brand-name { display: none; } }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; text-decoration: none; cursor: pointer; border: 0; background: color-mix(in srgb, var(--accent) 90%, #000); color: #fff; font: 800 1.12rem/1 var(--display); text-transform: uppercase; letter-spacing: .07em; padding: 1rem 1.8rem; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); transition: background .2s, transform .25s var(--ease), box-shadow .25s; isolation: isolate; overflow: hidden; }
.btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); z-index: -1; }
.btn:hover { background: var(--accent); transform: translateY(-2px); }
.btn:hover::before { transform: translateX(120%); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.ghost { background: rgba(255,255,255,.03); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); clip-path: none; border-radius: 2px; }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.btn-sm { font-size: .95rem; padding: .72rem 1.25rem; }
.btn svg { flex: none; }
.intro-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Hero: wspólne ---------- */
@keyframes pulse { 50% { opacity: .25; } }
@keyframes cue { to { top: 110%; } }
@keyframes heroIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); }
.hero-bg { position: absolute; inset: 0; z-index: -2; animation: heroIn 1.8s var(--ease) both; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .1; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-in { position: relative; max-width: var(--wrap); margin: 0 auto; }
.hero-in > * { animation: rise .9s var(--ease) both; }
.hero-title { font-size: clamp(3rem, 7vw, 6.6rem); font-weight: 900; line-height: .9; letter-spacing: -.01em; }
.hero-title .hl { background: linear-gradient(100deg, var(--accent) 10%, color-mix(in srgb, var(--accent) 45%, #ffc2a8)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.hero-sub { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: #d8cecf; max-width: 46ch; margin: 1.4rem 0 2rem; line-height: 1.6; }
.hero-actions, .intro-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-pill { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .95rem .5rem .8rem; margin: 0 0 1.6rem; border: 1px solid var(--line-2); border-radius: 99px; background: rgba(255,255,255,.04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .9rem; font-weight: 500; color: #ebe3e4; text-decoration: none; max-width: 100%; }
.hero-pill .dot, .tile-label .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); animation: pulse 1.8s infinite; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 3vw, 2.8rem); margin: 2.6rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-stats dt { font: 900 clamp(1.7rem, 2.8vw, 2.3rem)/1 var(--display); text-transform: uppercase; }
.hero-stats dt::first-letter { color: var(--accent); }
.hero-stats dd { font-size: .84rem; color: var(--muted); margin-top: .35rem; }
.hero-latest { display: inline-flex; align-items: center; gap: .8rem; max-width: 100%; padding: .4rem 1rem .4rem .4rem; border: 1px solid var(--line-2); border-radius: 99px; background: rgba(10,7,8,.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); text-decoration: none; font-size: .93rem; transition: border-color .2s, background .2s; }
.hero-latest:hover { border-color: var(--accent); background: rgba(10,7,8,.75); }
.hero-latest svg { flex: none; color: var(--muted); }
.hero-latest-tag { flex: none; background: var(--accent); color: #fff; border-radius: 99px; padding: .34rem .7rem; font: 800 .74rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.hero-latest-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-sun { position: absolute; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, var(--accent) 0 55%, color-mix(in srgb, var(--accent) 50%, transparent) 62%, transparent 71%); box-shadow: 0 0 140px 40px color-mix(in srgb, var(--accent) 35%, transparent); }
.scroll-cue { display: flex; justify-content: center; padding: 1rem; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2s ease-in-out infinite; }

/* ---------- Hero 1: Nowoczesny (tekst + okładki gier) ---------- */
.hero.hero-split { min-height: min(100svh, 960px); display: flex; flex-direction: column; justify-content: center; }
.hero-split::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 0%, rgba(10,7,8,.9) 36%, rgba(10,7,8,.55) 68%, rgba(10,7,8,.4) 100%), linear-gradient(180deg, rgba(10,7,8,.7) 0%, transparent 25%, transparent 72%, var(--bg) 100%); }
.hero-split .hero-in { width: 100%; padding: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)) var(--pad) clamp(2.5rem, 5vw, 4rem); }
.split-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-fan { position: relative; height: clamp(380px, 40vw, 560px); }
.hero-fan .hero-sun { width: 64%; aspect-ratio: 1; left: 18%; top: 4%; opacity: .85; }
.fan-card { position: absolute; top: 50%; left: 50%; width: 42%; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 40px 80px -20px rgba(0,0,0,.9); transition: transform .7s var(--ease), box-shadow .4s; }
.fan-card .cover { border-radius: 0; }
.fan-card .slot-title, .fan-card .slot-text { display: none; }
.fan-card .slot-mark, .tile-game .slot-mark, .poster .slot-mark { display: none; }
.fan-card.c0 { z-index: 3; transform: translate(-50%, -50%); }
.fan-card.c1 { z-index: 2; transform: translate(-122%, -44%) rotate(-10deg) scale(.84); }
.fan-card.c2 { z-index: 1; transform: translate(22%, -44%) rotate(10deg) scale(.84); }
.hero-fan:hover .fan-card.c1 { transform: translate(-132%, -46%) rotate(-12deg) scale(.86); }
.hero-fan:hover .fan-card.c2 { transform: translate(32%, -46%) rotate(12deg) scale(.86); }
.fan-card:hover { box-shadow: 0 40px 90px -20px color-mix(in srgb, var(--accent) 60%, #000); }
.fan-meta { position: absolute; inset: auto 0 0 0; display: grid; justify-items: start; gap: .5rem; padding: 3rem 1rem 1rem; background: linear-gradient(transparent, rgba(10,7,8,.96)); }
.fan-meta strong { font: 900 clamp(1.2rem, 1.8vw, 1.6rem)/1 var(--display); text-transform: uppercase; }
.hero-bottom { margin-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; }
  .hero-fan { height: clamp(300px, 80vw, 440px); width: 100%; max-width: 520px; margin: 0 auto; }
  .hero-split::after { background: linear-gradient(180deg, rgba(10,7,8,.75) 0%, rgba(10,7,8,.85) 50%, var(--bg) 100%); }
}

/* ---------- Hero 2: Kinowy (pełny ekran, napis na środku) ---------- */
.hero.hero-cinematic { min-height: 100svh; display: flex; }
.hero-cinematic .hero-bg img { object-position: 50% 75%; }
.hero-cinematic::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(10,7,8,.35), rgba(10,7,8,.8) 75%), linear-gradient(180deg, rgba(10,7,8,.6) 0%, transparent 30%, transparent 60%, var(--bg) 100%); }
.hero-cinematic .hero-in { width: 100%; display: flex; flex-direction: column; align-items: center; padding: calc(var(--header-h) + clamp(3rem, 8vh, 6rem)) var(--pad) 1.5rem; }
.hero-cinematic .hero-sun { z-index: -1; width: min(44vw, 500px); aspect-ratio: 1; left: 50%; top: 40%; transform: translate(-50%, -50%); opacity: .38; filter: blur(30px); }
.hero-center { flex: 1; width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; max-width: 1060px; }
.hero-center > * { max-width: 100%; }
.hero-cinematic .hero-title { font-size: clamp(3.4rem, 10.5vw, 9.4rem); line-height: .86; text-shadow: 0 12px 70px rgba(0,0,0,.6); margin-top: .4rem; }
.hero-cinematic .hero-sub { margin-left: auto; margin-right: auto; }
.hero-cinematic .hero-actions { justify-content: center; }
.hero-cinematic .hero-latest, .hero-cinematic .hero-pill { margin-bottom: 1.6rem; }
.hero-strip { width: 100%; max-width: var(--wrap); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: .8rem; margin-top: clamp(2.5rem, 6vh, 4rem); }
.strip-card { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: .9rem; padding: .55rem .9rem .55rem .55rem; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(10,7,8,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-decoration: none; text-align: left; transition: border-color .25s, transform .35s var(--ease), background .25s; }
.strip-card:hover { border-color: var(--accent); transform: translateY(-3px); background: rgba(10,7,8,.75); }
.strip-card svg { color: var(--muted); }
.strip-thumb { display: block; width: 50px; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.strip-thumb img { width: 100%; height: 100%; object-fit: cover; }
.strip-thumb .slot { padding: 0; gap: 0; }
.strip-thumb .slot::before, .strip-thumb .slot-text, .strip-thumb .slot-title { display: none; }
.strip-thumb .slot-mark { display: none; }
.strip-txt { display: grid; gap: .25rem; min-width: 0; }
.strip-txt strong { font: 800 1.12rem/1 var(--display); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strip-txt small { color: var(--muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 700px) { .hero-cinematic .scroll-cue { display: none; } }

/* ---------- Hero 3: Bento (kafelki) ---------- */
@keyframes tileIn { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.hero.hero-bento { padding: calc(var(--header-h) + 2.4rem) 0 .5rem; overflow: visible; }
.hero-bento::before, .hero-bento .hero-bg { display: none; }
.hero-bento .hero-in { padding: 0 var(--pad); }
.hero-bento .hero-in > .bento { animation: none; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(180px, auto); gap: var(--gap, 14px); }
.tile { position: relative; isolation: isolate; overflow: hidden; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--tile-r, 22px); background: var(--surface); color: inherit; text-decoration: none; transition: border-color .3s, transform .45s var(--ease), box-shadow .45s var(--ease); animation: tileIn .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 80ms); }
a.tile:hover, .tile:has(> a.tile-link:hover) { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.tile-label { display: inline-flex; align-items: center; gap: .5rem; font: 700 .76rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tile-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; }
.tile-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--muted); font-size: .9rem; text-decoration: none; }
.tile-go { width: 38px; height: 38px; flex: none; display: grid; place-content: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text); transition: background .25s, border-color .25s, transform .35s var(--ease); }
a.tile:hover .tile-go, a.tile-link:hover .tile-go { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }

.tile-main { grid-column: 1 / 4; grid-row: 1 / 3; min-height: clamp(440px, 52vh, 560px); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: clamp(1.6rem, 4vw, 3.2rem); }
.tile-main::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-img, url("../assets/scene.webp")) center 70% / cover no-repeat; opacity: .75; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.tile-main:hover::before { transform: scale(1.06); }
.tile-main::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,7,8,.1) 0%, rgba(10,7,8,.55) 42%, rgba(10,7,8,.96) 100%), linear-gradient(90deg, rgba(10,7,8,.6), transparent 70%); }
.tile-glow { position: absolute; z-index: -1; right: -8%; top: -18%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 65%); filter: blur(20px); opacity: .55; animation: glow 8s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glow { to { transform: translate(-12%, 10%) scale(1.15); opacity: .8; } }
.tile-main .hero-title { font-size: clamp(2.8rem, 6vw, 5.8rem); }
.tile-main .hero-sub { margin-bottom: 1.8rem; }

.tile-game { grid-column: 4; grid-row: 1 / 3; padding: 0; min-height: 300px; }
.tile-game .cover { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; border-radius: 0; }
.tile-game .cover img { transition: transform .9s var(--ease); }
.tile-game:hover .cover img { transform: scale(1.06); }
.tile-game .slot-title, .tile-game .slot-text, .tile-game .slot-mark { display: none; }
.tile-game-meta { position: absolute; inset: auto 0 0 0; display: grid; gap: .55rem; padding: 4rem 1.3rem 1.3rem; background: linear-gradient(transparent, rgba(10,7,8,.75) 35%, rgba(10,7,8,.97)); }
.tile-game-meta strong { font: 900 clamp(1.7rem, 2.4vw, 2.2rem)/.92 var(--display); text-transform: uppercase; }
.tile-game-short { font-size: .9rem; color: #d2c8c9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-game-row { display: flex; justify-content: space-between; align-items: center; margin-top: .2rem; }

.tile-news { grid-column: 1 / 3; display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 24%, var(--surface)), var(--surface) 70%); }
.tile-news strong { font: 800 clamp(1.45rem, 2.3vw, 2rem)/1.02 var(--display); text-transform: uppercase; max-width: 24ch; }
.tile-news.has-img { background: var(--surface); }
.tile-bgimg { position: absolute; inset: 0; z-index: -1; }
.tile-bgimg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; transition: transform .9s var(--ease), opacity .4s; }
.tile-news.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,7,8,.92), rgba(10,7,8,.5)); }
.tile-news:hover .tile-bgimg img { transform: scale(1.05); opacity: .5; }

.tile-stats { grid-column: 3; display: flex; align-items: center; }
.tile-stats .hero-stats { margin: 0; padding: 0; border: 0; flex-direction: column; gap: 1rem; animation: none; }
.tile-brand { grid-column: 4; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; background: radial-gradient(circle at 25% 25%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%), var(--surface); }
.tile-mark img { width: 60px; height: auto; transition: transform .5s var(--ease); }
.tile-brand-top { display: flex; flex-direction: column; gap: 1rem; }
.tile-brand-name { display: grid; gap: .3rem; }
.tile-brand-name strong { font: 900 1.45rem/1 var(--display); text-transform: uppercase; }
.tile-brand-name small { color: var(--muted); font-size: .88rem; line-height: 1.35; }
@media (max-width: 1000px) { .tile-brand-top { flex-direction: row; align-items: center; } }
.tile-brand:hover .tile-mark img { transform: rotate(-8deg) scale(1.08); }
.tile-soc { display: flex; flex-wrap: wrap; gap: .35rem; }
.tile-soc a { font: 700 .74rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: .42rem .65rem; border: 1px solid var(--line-2); border-radius: 99px; color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.tile-soc a:hover { color: #fff; border-color: var(--accent); background: var(--accent-soft); }
.tile-link { color: var(--text); font-weight: 600; }
.bento.no-stats .tile-news { grid-column: 1 / 4; }
.bento.no-news .tile-stats { grid-column: 1 / 4; }
.bento.no-news .tile-stats .hero-stats { flex-direction: row; gap: 3rem; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-main { grid-column: 1 / -1; grid-row: auto; min-height: 440px; }
  .tile-game { grid-column: 1; grid-row: span 2; min-height: 400px; }
  .tile-news, .bento.no-stats .tile-news { grid-column: 2; }
  .tile-stats, .bento.no-news .tile-stats { grid-column: 2; }
  .tile-brand { grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .tile-brand .tile-link { margin-left: auto; gap: 1rem; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile-main, .tile-game, .tile-news, .bento.no-stats .tile-news, .tile-stats, .bento.no-news .tile-stats, .tile-brand { grid-column: 1; grid-row: auto; }
  .tile-main { min-height: 0; padding-top: 7rem; }
  .tile-game { min-height: 420px; }
  .tile-stats .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 1.2rem 2rem; }
  .tile-brand .tile-link { margin-left: 0; width: 100%; }
}

/* ---------- Bento: cała strona w kafelkach ---------- */
[data-theme="bento"] { --tile-r: 22px; --gap: 14px; }
[data-theme="bento"] .sec { padding-top: clamp(3.5rem, 7vw, 5.5rem); padding-bottom: clamp(1rem, 2vw, 1.5rem); }
[data-theme="bento"] .sec + .sec, [data-theme="bento"] .about, [data-theme="bento"] .links { border-top: 0; }
[data-theme="bento"] .sec-head { margin-bottom: 1.6rem; }
[data-theme="bento"] .sec h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
[data-theme="bento"] .feature, [data-theme="bento"] .poster, [data-theme="bento"] .tech-card, [data-theme="bento"] .news-card,
[data-theme="bento"] .values li, [data-theme="bento"] .models li, [data-theme="bento"] .link-card, [data-theme="bento"] .contact-card,
[data-theme="bento"] .press, [data-theme="bento"] .member, [data-theme="bento"] .product, [data-theme="bento"] .offer,
[data-theme="bento"] .d-card, [data-theme="bento"] .soon-card, [data-theme="bento"] .faq details, [data-theme="bento"] .post-game,
[data-theme="bento"] .pager-btn, [data-theme="bento"] .video, [data-theme="bento"] .shots figure, [data-theme="bento"] .product-shots figure, [data-theme="bento"] .steam { border-radius: var(--tile-r); }
[data-theme="bento"] .game-grid, [data-theme="bento"] .tech-grid, [data-theme="bento"] .news-grid, [data-theme="bento"] .values,
[data-theme="bento"] .link-grid, [data-theme="bento"] .team-grid, [data-theme="bento"] .offers, [data-theme="bento"] .models { gap: var(--gap); }
[data-theme="bento"] .game-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
[data-theme="bento"] .feature { margin-bottom: var(--gap); padding: clamp(1rem, 2.4vw, 1.8rem); }
[data-theme="bento"] .feature .cover, [data-theme="bento"] .d-hero-grid .cover { border-radius: 16px; }
[data-theme="bento"] .status, [data-theme="bento"] .plats li { border-radius: 99px; padding-left: .7rem; padding-right: .7rem; }
[data-theme="bento"] .news-tag { border-radius: 99px; }
[data-theme="bento"] .chip { border-radius: 99px; }
[data-theme="bento"] .tags li { border-radius: 99px; }
[data-theme="bento"] .tech-mark, [data-theme="bento"] .product-logo { clip-path: none; border-radius: 14px; }
/* studio jako kafelki */
[data-theme="bento"] .about-grid { grid-template-columns: 1.6fr 1fr; gap: var(--gap); align-items: stretch; }
[data-theme="bento"] .about-grid > div:first-child { padding: clamp(1.6rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--tile-r); background: radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%), var(--surface); }
[data-theme="bento"] .facts { gap: var(--gap); background: none; border: 0; border-radius: 0; overflow: visible; }
[data-theme="bento"] .facts > div { justify-content: flex-end; border: 1px solid var(--line); border-radius: var(--tile-r); background: var(--surface); padding: 1.4rem 1.6rem; }
[data-theme="bento"] .values { margin-top: var(--gap); }
[data-theme="bento"] .values li { background: var(--surface); }
[data-theme="bento"] .team { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
[data-theme="bento"] .member-photo { margin: .5rem .5rem 0; border-radius: 16px; }
/* kontakt + press */
[data-theme="bento"] .press { margin-top: var(--gap); background: var(--surface); }
[data-theme="bento"] .socials.big a { border-radius: 99px; }
[data-theme="bento"] .mail-big { border-radius: 4px; }
/* stopka jako kafelek */
[data-theme="bento"] .foot { margin: clamp(2rem, 5vw, 4rem) 12px 12px; border: 1px solid var(--line); border-radius: 26px; background: radial-gradient(ellipse at 0% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 50%), var(--bg-2); }
/* menu: aktywna pozycja jako pigułka */
@media (min-width: 961px) {
  [data-theme="bento"] .nav ul { gap: .2rem; }
  [data-theme="bento"] .nav ul a { padding: .6rem .85rem; border-radius: 99px; font-size: 1rem; transition: background .2s, color .2s; }
  [data-theme="bento"] .nav ul a::after { display: none; }
  [data-theme="bento"] .nav ul a:hover { background: rgba(255,255,255,.06); }
  [data-theme="bento"] .nav ul a.active, [data-theme="bento"] .nav ul a[aria-current="page"] { background: rgba(255,255,255,.1); }
}
/* podstrony: nagłówek jako kafelek */
[data-theme="bento"] .d-hero, [data-theme="bento"] .page-hero { margin: calc(var(--header-h) + 24px) 12px 0; border: 1px solid var(--line); border-radius: 26px; }
[data-theme="bento"] .d-hero-in { padding-top: clamp(1.8rem, 4vw, 3rem); }
[data-theme="bento"] .page-hero { max-width: none; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.2rem, 5vw, 4rem); overflow: hidden; }
[data-theme="bento"] .page-hero-bg { inset: 0; border-bottom: 0; }
body.has-announce[data-theme="bento"] .d-hero, body.has-announce[data-theme="bento"] .page-hero { margin-top: calc(var(--header-h) + 24px + var(--ann-h)); }
body.has-announce[data-theme="bento"] .d-hero-in { margin-top: 0; }
[data-theme="bento"] .d-meta > div { border-bottom-color: var(--line); }
[data-theme="bento"] .d-links a { border-radius: 14px; }
@media (max-width: 700px) {
  [data-theme="bento"] .about-grid { grid-template-columns: 1fr; }
  [data-theme="bento"] .facts { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  [data-theme="bento"] .d-hero, [data-theme="bento"] .page-hero { margin-left: 8px; margin-right: 8px; }
  [data-theme="bento"] .foot { margin: 2rem 8px 8px; }
}

/* ---------- Styl strony: zaokrąglenia, przyciski, nagłówek ---------- */
[data-theme="split"] { --radius: 10px; }
[data-theme="bento"] { --radius: 14px; }
[data-theme="split"] .btn, [data-theme="bento"] .btn { clip-path: none; border-radius: 12px; }
[data-theme="bento"] .btn { border-radius: 99px; padding-left: 1.6rem; padding-right: 1.6rem; }
[data-theme="split"] .btn.ghost, [data-theme="bento"] .btn.ghost { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
[data-theme="bento"] .top { inset: 12px 12px auto 12px; height: 64px; border-radius: 18px; background: rgba(21,16,17,.72); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border: 1px solid var(--line); }
[data-theme="bento"] .top::before { display: none; }
body.has-announce[data-theme="bento"] .top { top: calc(var(--ann-h) + 12px); }
[data-theme="bento"] .top.hide { transform: translateY(calc(-100% - 24px - var(--ann-h, 0px))); }
@media (max-width: 960px) { [data-theme="bento"] .nav { top: 84px; border-radius: 18px; inset: 84px 12px 12px 12px; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 1.1rem 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; }
.marquee-row span { font: 900 clamp(1.8rem, 3.6vw, 2.8rem)/1 var(--display); text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); }
.marquee-row span:nth-child(4n+1) { color: var(--text); -webkit-text-stroke: 0; }
.marquee-row img { width: 34px; height: auto; opacity: .9; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Filters / chips / badges ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .8rem 1.8rem; }
.chip-group { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.chip-label { font: 700 .85rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-right: .4rem; }
.chip { font: 700 .95rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); background: transparent; border: 1px solid var(--line-2); border-radius: 99px; padding: .55rem .95rem; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--text); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #000; }

.status { display: inline-flex; align-items: center; gap: .4rem; font: 700 .8rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; padding: .42rem .65rem; border-radius: 2px; border: 1px solid currentColor; white-space: nowrap; }
.status.released { color: #fff; background: var(--accent); border-color: var(--accent); }
.status.dev { color: #ffb7bb; border-color: rgba(255,183,187,.4); background: rgba(244,3,15,.08); }
.status.dev::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 1.6s infinite; }
.status.proto { color: var(--muted); border-color: var(--line-2); }
.plats { display: flex; flex-wrap: wrap; gap: .4rem; }
.plats li { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .65rem; border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: 2px; font: 700 .82rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #ddd4d5; }
.plats svg { color: var(--accent); flex: none; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font-size: .88rem; color: var(--muted); background: var(--surface-2); padding: .25rem .65rem; border-radius: 99px; }

/* ---------- Cover slot ---------- */
.cover { display: block; position: relative; padding: 0; border: 0; background: var(--surface); aspect-ratio: 3 / 4; overflow: hidden; cursor: pointer; width: 100%; border-radius: var(--radius); }
div.cover { cursor: default; }
.cover > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.slot { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: .5rem; text-align: left; padding: 1.4rem; color: var(--muted); background: linear-gradient(180deg, rgba(10,7,8,.15) 0%, rgba(10,7,8,.55) 55%, rgba(10,7,8,.95) 100%), url("../assets/scene.webp") 62% 60% / cover no-repeat, var(--surface-2); }
.slot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%); pointer-events: none; }
.slot-mark { position: absolute; top: 1rem; left: 1rem; width: 34px; max-width: none; opacity: .55; filter: grayscale(.2); }
.slot-title { position: relative; font: 900 clamp(1.5rem, 2.6vw, 2.2rem)/.92 var(--display); text-transform: uppercase; color: var(--text); max-width: 12ch; }
.slot-text { position: relative; font: 700 .72rem/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.slot-shot { aspect-ratio: 16 / 9; }
.slot-shot { background-position: 30% 70%; }
.slot-shot .slot-title { font-size: clamp(1.1rem, 2vw, 1.5rem); }

/* ---------- Games: featured ---------- */
.feature { position: relative; display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.2rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: calc(var(--radius) * 2); background: linear-gradient(135deg, var(--surface) 0%, var(--bg-2) 100%); overflow: hidden; isolation: isolate; margin-bottom: clamp(1.2rem, 2.5vw, 2rem); }
.feature-bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .3; }
.feature-bg.blur { filter: blur(40px) saturate(1.4); transform: scale(1.3); opacity: .35; }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,7,8,.4), rgba(10,7,8,.92) 55%); }
.feature::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; z-index: -1; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 38%, transparent), transparent 65%); }
.feature-cover { display: block; border-radius: var(--radius); text-decoration: none; color: inherit; }
.feature .cover { box-shadow: var(--shadow); }
.feature .cover:hover > img { transform: scale(1.05); }
.feature .meta { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.feature-label { display: flex; align-items: center; gap: .55rem; margin: 0; font: 700 .85rem/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2); }
.feature-label .dot { width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); }
.feature h3 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 900; line-height: .88; }
.feature h3 a { text-decoration: none; }
.feature h3 a:hover { color: var(--accent-2); }
.feature .progress { width: min(100%, 380px); }
.feature-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.feature .short { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: #e2d9da; margin: 0; }
.feature-facts { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.feature-facts .fact { color: var(--muted); font-size: .98rem; }
.feature-facts .fact + .fact::before { content: "/"; margin-right: 1rem; color: var(--dim); }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
  .feature .cover { max-width: 240px; }
}

/* ---------- Games: posters ---------- */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: clamp(1rem, 2.2vw, 1.6rem); }
.poster { position: relative; display: block; text-align: left; text-decoration: none; color: inherit; padding: 0; border: 1px solid var(--line); background: var(--surface); cursor: pointer; border-radius: calc(var(--radius) * 1.5); overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease); }
.poster .cover { border-radius: 0; }
.poster .slot-title, .poster .slot-text { display: none; }

.poster::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 30%, rgba(10,7,8,.75) 58%, rgba(10,7,8,.98) 100%); pointer-events: none; }
.poster-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1.4rem; display: flex; flex-direction: column; gap: .65rem; }
.poster-top { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.poster h3 { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 900; }
.poster .short { color: #d6cccd; font-size: .98rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.poster-go { display: inline-flex; align-items: center; gap: .4rem; font: 800 .95rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .3s, margin .3s; }
.poster:hover, .poster:focus-visible { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 30px 60px -25px color-mix(in srgb, var(--accent) 55%, transparent); }
.poster:hover .cover > img { transform: scale(1.06); }
.poster:hover .poster-go, .poster:focus-visible .poster-go { max-height: 2rem; opacity: 1; margin-top: .2rem; }
@media (hover: none) { .poster-go { max-height: 2rem; opacity: 1; } }
.soon-card { display: flex; flex-direction: column; justify-content: center; gap: .8rem; padding: 2rem; border: 1px dashed var(--line-2); border-radius: calc(var(--radius) * 1.5); min-height: 260px; background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255,255,255,.015) 14px 28px); }
.soon-card h3 { font-size: 1.9rem; }
.soon-card p { color: var(--muted); margin: 0; }
.soon-mark { width: 52px; height: 52px; display: grid; place-content: center; border: 1px solid var(--accent); color: var(--accent); font: 900 2rem/1 var(--display); border-radius: 50%; }
.empty { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 3rem 0; color: var(--muted); }

/* ---------- Tech teaser ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.2rem; }
.tech-card { position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 1.8rem; text-decoration: none; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5); background: linear-gradient(160deg, var(--surface) 0%, var(--bg) 100%); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.tech-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.tech-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.tech-mark { width: 56px; height: 56px; display: grid; place-content: center; background: var(--accent); color: #fff; font: 900 1.4rem/1 var(--display); clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%); }
.tech-card h3 { font-size: 2rem; }
.tech-card p { color: var(--muted); margin: 0; }
.tech-go { margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .4rem; font: 800 .95rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.tech-go svg { transition: transform .3s var(--ease); }
.tech-card:hover .tech-go svg { transform: translateX(5px); }
.product-chips { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.news-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5); background: var(--surface); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.news-card.clickable:hover { border-color: var(--line-2); transform: translateY(-4px); }
.news-media { aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-media.empty { display: grid; place-content: center; background: linear-gradient(180deg, rgba(10,7,8,.25), rgba(10,7,8,.75)), url("../assets/scene.webp") 40% 65% / cover no-repeat; }
.news-media.empty .slot-mark { position: static; width: 54px; height: auto; opacity: .8; filter: drop-shadow(0 6px 20px rgba(0,0,0,.6)); }
.news-body { display: flex; flex-direction: column; gap: .7rem; padding: 1.4rem 1.5rem 1.6rem; flex: 1; }
.news-body h3 { font-size: 1.7rem; font-weight: 800; line-height: 1; }
.news-body p { color: var(--muted); margin: 0; font-size: 1rem; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin: 0; font-size: .9rem; color: var(--dim); }
.news-tag { font: 700 .78rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); padding: .3rem .5rem; border-radius: 2px; }
.news-go { margin-top: auto; padding: .6rem 0 0; align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; background: none; border: 0; cursor: pointer; text-decoration: none; font: 800 .95rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.news-card:hover .news-go { color: var(--accent-2); }
.stretch { text-decoration: none; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.news-card.first { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.news-card.first .news-media { aspect-ratio: auto; min-height: 100%; }
.news-card.first h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.news-more { display: flex; justify-content: center; margin-top: 2rem; }
@media (max-width: 1000px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card.first { display: flex; }
  .news-card.first .news-media { aspect-ratio: 16 / 9; }
}

/* ---------- About ---------- */
.about { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about h2 { margin-bottom: 1.8rem; }
.about-text p { color: #d4cacb; font-size: 1.15rem; }
.about-text p:first-child { font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--text); line-height: 1.5; }
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5); overflow: hidden; }
.facts > div { background: var(--bg); padding: 1.6rem 1.8rem; display: flex; flex-direction: column; gap: .4rem; }
.facts dt { font: 900 clamp(2.4rem, 4.6vw, 3.6rem)/.9 var(--display); text-transform: uppercase; color: var(--text); }
.facts dt::first-letter { color: var(--accent); }
.facts dd { color: var(--muted); font: 700 .88rem/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.2rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.values li, .models li { position: relative; padding: 2rem 1.8rem; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5); background: linear-gradient(180deg, var(--surface), transparent); }
.val-num { display: block; font: 900 1rem/1 var(--display); letter-spacing: .12em; color: var(--accent); margin-bottom: 1.4rem; }
.values h3, .models h3 { font-size: 1.65rem; margin-bottom: .7rem; }
.values p, .models p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Links ---------- */
.links { border-top: 1px solid var(--line); }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1rem; }
.link-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.5rem 1.6rem; text-decoration: none; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5); background: var(--surface); overflow: hidden; isolation: isolate; transition: border-color .3s, transform .35s var(--ease); }
.link-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.link-card h3 { font-size: 1.6rem; }
.link-card p { margin: .4rem 0 0; color: var(--muted); font-size: .98rem; transition: color .3s; }
.link-host { display: inline-block; margin-top: .6rem; font-size: .82rem; color: var(--dim); transition: color .3s; }
.link-arrow { flex: none; width: 48px; height: 48px; display: grid; place-content: center; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .4s var(--ease), border-color .3s, background .3s; }
.link-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.link-card:hover::before { transform: scaleX(1); }
.link-card:hover p, .link-card:hover .link-host { color: rgba(255,255,255,.85); }
.link-card:hover .link-arrow { transform: rotate(45deg); border-color: #fff; background: rgba(0,0,0,.15); }
.link-card.hl { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--surface)), var(--surface)); }

/* ---------- Contact ---------- */
.contact-card { position: relative; display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); padding: clamp(2rem, 6vw, 4.5rem); border: 1px solid var(--line); border-radius: calc(var(--radius) * 2.5); background: radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 55%), radial-gradient(ellipse at 0% 100%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 50%), var(--surface); overflow: hidden; isolation: isolate; }
.contact-card::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 360px; height: 320px; z-index: -1; background: url("../assets/mark.png") center / contain no-repeat; opacity: .07; filter: grayscale(1); }
.contact-card.with-form { grid-template-columns: 1fr 1fr; }
.contact-main h2 { font-size: clamp(2.8rem, 7vw, 5.6rem); margin-bottom: 1.2rem; }
.contact-main > p { color: #d6cccd; font-size: 1.15rem; }
.mail-big { display: inline-flex; align-items: center; gap: .8rem; margin: .6rem 0 1.6rem; font: 800 clamp(1.5rem, 3.6vw, 2.6rem)/1.1 var(--display); text-decoration: none; letter-spacing: .01em; word-break: break-all; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease), color .2s; padding-bottom: .2rem; }
.mail-big svg { flex: none; color: var(--accent); transition: transform .3s var(--ease); }
.mail-big:hover { background-size: 100% 2px; }
.mail-big:hover svg { transform: translateX(6px); }
#contactSocials:not(:empty) { margin-top: 2.2rem; }
@media (max-width: 860px) { .contact-card.with-form { grid-template-columns: 1fr; } }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; }
.socials a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; color: var(--muted); font-size: .98rem; transition: color .2s; }
.socials a:hover { color: var(--text); }
.socials a svg { opacity: .5; }
.socials.big a { padding: .6rem 1rem; border: 1px solid var(--line-2); border-radius: 99px; color: var(--text); font: 700 .95rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.2); transition: border-color .2s, background .2s; }
.socials.big a:hover { border-color: var(--accent); background: var(--accent); }
.socials.big a:hover svg { opacity: 1; }
.press { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; margin-top: 1.2rem; padding: 1.6rem 2rem; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5); }
.press h3 { font-size: 1.6rem; margin-bottom: .3rem; }
.press p { margin: 0; color: var(--muted); }
.press-files { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form label { display: flex; flex-direction: column; gap: .45rem; }
.form label > span { font: 700 .85rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea, .form select { font: inherit; color: var(--text); background: rgba(0,0,0,.35); border: 1px solid var(--line-2); border-radius: var(--radius); padding: .85rem 1rem; transition: border-color .2s, background .2s; width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); background: rgba(0,0,0,.5); }
.form textarea { resize: vertical; min-height: 140px; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.form select option { background: var(--surface); }
.form .btn { align-self: flex-start; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { min-height: 1.4em; margin: 0; font-weight: 600; }
.form-note.ok { color: #7ee2a1; }
.form-note.err { color: #ff8f95; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: clamp(3rem, 6vw, 4.5rem) var(--pad) 1.5rem; }
.foot-inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.foot-inner.cols-4 { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.foot-inner.cols-2 { grid-template-columns: 1.4fr 1fr; }
.foot-brand { display: flex; align-items: flex-start; gap: 1rem; }
.foot-brand img { width: 64px; }
.foot-name { font: 900 1.7rem/1 var(--display); text-transform: uppercase; margin: 0 0 .5rem; }
.foot-tag { color: var(--muted); margin: 0; max-width: 32ch; }
.foot-title { font: 700 .82rem/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin: 0 0 1rem; }
.foot-links { display: grid; gap: .55rem; }
.foot-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.foot-links a:hover { color: var(--text); }
.foot .socials { flex-direction: column; gap: .55rem; }
.foot-bottom { max-width: var(--wrap); margin: 3rem auto 0; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; color: var(--dim); font-size: .9rem; }
.foot-bottom p { margin: 0; }
.foot-bottom a { color: var(--dim); text-decoration: none; }
.foot-bottom a:hover { color: var(--text); }
@media (max-width: 760px) { .foot-inner, .foot-inner.cols-4, .foot-inner.cols-2 { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Wspólne: cechy, wideo, zrzuty ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: .6rem 1.6rem; }
.features li { position: relative; padding-left: 1.7rem; color: #ddd3d4; }
.features li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--accent); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.video { aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video button { width: 100%; height: 100%; border: 0; cursor: pointer; background: #000 center / cover no-repeat; display: grid; place-content: center; position: relative; }
.video button::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); transition: background .3s; }
.video button:hover::before { background: rgba(0,0,0,.1); }
.video .play { position: relative; width: 84px; height: 84px; display: grid; place-content: center; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 25%, transparent); transition: transform .3s var(--ease); }
.video button:hover .play { transform: scale(1.08); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: .8rem; }
.shots figure, .product-shots figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.shots img, .product-shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease); }
.shot-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot-btn:hover img { transform: scale(1.04); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-content: center; background: rgba(0,0,0,.94); padding: 4rem 1rem; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.lightbox img { max-width: min(1600px, 92vw); max-height: 84svh; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.8); opacity: 0; transform: scale(.98); transition: opacity .3s, transform .4s var(--ease); }
.lightbox img.in { opacity: 1; transform: none; }
.lb-count { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%); margin: 0; font: 700 .9rem/1 var(--display); letter-spacing: .14em; color: var(--muted); }
body.lb-open { overflow: hidden; }
.lb-btn { position: fixed; width: 54px; height: 54px; display: grid; place-content: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(20,14,16,.7); cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: var(--accent); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ============ Podstrona: silniki i narzędzia ============ */
.page-hero { position: relative; max-width: var(--wrap); margin: 0 auto; padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) var(--pad) clamp(2rem, 5vw, 3.5rem); isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: radial-gradient(ellipse at 80% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 55%), linear-gradient(180deg, var(--bg-2), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 0%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000, transparent 70%); opacity: .6; }
.back { display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); text-decoration: none; font: 700 .9rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.6rem; }
.back:hover { color: var(--text); }
.page-hero h1 { font-size: clamp(3rem, 9vw, 7rem); font-weight: 900; line-height: .88; max-width: 14ch; }
.page-intro { font-size: 1.25rem; color: #d4cacb; margin: 1.6rem 0 2rem; max-width: 56ch; }
.subnav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.4rem; }
.subnav a { display: inline-block; text-decoration: none; padding: .55rem 1rem; border: 1px solid var(--line-2); border-radius: 99px; font: 700 .92rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: all .2s; }
.subnav a:hover { color: var(--text); border-color: var(--text); }
.products { padding-top: clamp(2rem, 5vw, 3.5rem); }
.product-list { display: grid; gap: clamp(1.5rem, 3vw, 2.4rem); }
.product { padding: clamp(1.4rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: calc(var(--radius) * 2); background: linear-gradient(160deg, var(--surface), var(--bg-2)); display: flex; flex-direction: column; gap: 2rem; scroll-margin-top: calc(var(--header-h) + 1rem); transition: border-color .4s; }
.product.flash { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.product-head { display: flex; gap: 1.4rem; align-items: center; }
.product-logo { width: 92px; height: 92px; flex: none; display: grid; place-content: center; background: var(--accent); color: #fff; font: 900 2rem/1 var(--display); clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%); overflow: hidden; }
.product-logo img { width: 92px; height: 92px; object-fit: cover; }
.product-head h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 900; margin: .6rem 0 .3rem; }
.product-head .lead { margin: 0; color: #d6cccd; font-size: 1.15rem; }
.version { font: 700 .82rem/1 var(--display); letter-spacing: .1em; color: var(--muted); padding: .42rem .6rem; background: var(--surface-3); border-radius: 2px; }
.product-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.product-cols > div > p { color: #d4cacb; }
.product-cols .features { grid-template-columns: 1fr; margin-bottom: 1.6rem; }
.mini { font-size: 1.25rem; letter-spacing: .06em; margin: 0 0 1rem; color: var(--muted); }
.specs { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs > div { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.specs > div:last-child { border-bottom: 0; }
.specs dt { color: var(--dim); font: 700 .85rem/1.6 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.product-shots { display: grid; gap: .8rem; align-content: start; }
.used { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.used-label { font: 700 .85rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-right: .4rem; }
.game-link { text-decoration: none; padding: .4rem .8rem; border: 1px solid var(--line-2); border-radius: 99px; font-weight: 600; font-size: .95rem; transition: border-color .2s; }
.game-link:hover { border-color: var(--accent); }
.product-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.ext { display: inline-flex; align-items: center; gap: .35rem; color: var(--accent-2); text-decoration: none; font-weight: 600; }
.ext:hover { text-decoration: underline; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1rem; }
.offer { display: flex; flex-direction: column; gap: .5rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5); background: var(--bg); }
.offer.hl { border-color: var(--accent); box-shadow: 0 20px 50px -25px var(--accent); }
.offer-name { font: 800 1.1rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin: 0; }
.offer-price { font: 900 clamp(2rem, 3.6vw, 2.6rem)/1 var(--display); margin: .2rem 0 0; }
.offer-note { color: var(--muted); font-size: .95rem; margin: 0 0 .6rem; }
.includes { display: grid; gap: .4rem; margin-bottom: 1.2rem; }
.includes li { position: relative; padding-left: 1.5rem; color: #d4cacb; font-size: .98rem; }
.includes li::before { content: ""; position: absolute; left: 0; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.offer .btn { margin-top: auto; align-self: stretch; }
.licensing, .faq, .inquiry { border-top: 1px solid var(--line); }
.licensing h2, .faq h2 { margin-bottom: 1rem; }
.licensing .sec-intro { margin-bottom: 2.4rem; }
.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.2rem; }
.faq-list { display: grid; gap: .6rem; margin-top: 2rem; max-width: 900px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 3.4rem 1.2rem 1.4rem; position: relative; font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font: 400 1.8rem/1 var(--display); color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--muted); }
.inquiry h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1rem; }
.inquiry-inner p { color: #d4cacb; }
.mail a { color: var(--accent-2); font-weight: 600; }
@media (max-width: 860px) {
  .product-cols { grid-template-columns: 1fr; }
  .product-head { flex-direction: column; align-items: flex-start; }
  .specs > div { grid-template-columns: 1fr; gap: .2rem; }
}

/* ---------- Strony tekstowe ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: calc(var(--header-h) + 4rem) var(--pad) 5rem; }
.legal h1 { font-size: clamp(2.8rem, 8vw, 4.8rem); font-weight: 900; margin-bottom: 1.8rem; }
.legal h2 { font-size: 1.8rem; margin: 2.4rem 0 .7rem; }
.legal p { color: var(--muted); max-width: none; }
.legal strong { color: var(--text); }

/* =====================================================================
   NOWE ELEMENTY (v2)
   ===================================================================== */

/* ---------- Ładowanie treści ---------- */
html:not(.ready) #main > :not(.hero) { opacity: 0; }
#main > * { transition: opacity .5s var(--ease); }
html.preview .rv { opacity: 1; transform: none; transition: none; }
html.preview { scroll-behavior: auto; }
.noscript { position: fixed; bottom: 0; left: 0; right: 0; margin: 0; max-width: none; padding: 1rem; background: var(--accent); color: #fff; text-align: center; z-index: 500; }

/* ---------- Pasek ogłoszeń ---------- */
body.has-announce { --ann-h: 42px; }
.announce { position: fixed; inset: 0 0 auto 0; z-index: 61; height: var(--ann-h, 42px); display: flex; align-items: center; justify-content: center; padding: 0 3rem; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 85%, #000), var(--accent), color-mix(in srgb, var(--accent) 85%, #000)); color: #fff; transition: transform .4s var(--ease); }
body.top-hidden .announce { transform: translateY(-100%); }
body.has-announce .top { top: var(--ann-h); }
body.has-announce .top.hide { transform: translateY(calc(-100% - var(--ann-h))); }
body.has-announce .page-hero, body.has-announce .d-hero-in { margin-top: var(--ann-h); }
.announce-inner { display: flex; align-items: center; gap: .7rem; min-width: 0; text-decoration: none; font-weight: 600; font-size: .95rem; }
.announce-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announce-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; flex: none; animation: pulse 1.6s infinite; }
.announce-cta { display: inline-flex; align-items: center; gap: .3rem; flex: none; font: 800 .82rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; padding: .38rem .6rem; background: rgba(0,0,0,.22); border-radius: 2px; transition: background .2s; }
a.announce-inner:hover .announce-cta { background: rgba(0,0,0,.4); }
.announce-x { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-content: center; background: none; border: 0; color: #fff; opacity: .75; cursor: pointer; border-radius: 50%; }
.announce-x:hover { opacity: 1; background: rgba(0,0,0,.2); }
@media (max-width: 600px) { .announce-cta { display: none; } .announce { padding: 0 2.6rem 0 1rem; justify-content: flex-start; } }
@media (max-width: 960px) { body.has-announce .nav { top: calc(var(--header-h) + var(--ann-h)); } }

/* ---------- Do góry ---------- */
.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 55; width: 48px; height: 48px; display: grid; place-content: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(21,16,17,.85); backdrop-filter: blur(8px); cursor: pointer; transition: background .2s, transform .3s var(--ease); animation: fade .3s; }
.to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ---------- Poświata pod kursorem ---------- */
.has-spot::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%); border-radius: inherit; }
.has-spot:hover::before { opacity: 1; }

/* ---------- Postęp prac ---------- */
.progress { display: grid; gap: .5rem; }
.progress-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font: 700 .82rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.progress-head strong { font-size: 1.05rem; color: var(--text); letter-spacing: .04em; }
.progress-track { height: 6px; background: var(--surface-3); border-radius: 99px; overflow: hidden; }
.progress-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 60%, #000), var(--accent)); box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 60%, transparent); }
.poster-progress { height: 3px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; margin-top: .15rem; }
.poster-progress i { display: block; height: 100%; background: var(--accent); }

/* ---------- Logo produktu w zajawce ---------- */
.tech-mark.img { background: var(--surface-3); padding: 0; overflow: hidden; }
.tech-mark.img img { width: 56px; height: 56px; object-fit: cover; }

/* ---------- Tekst z formatowaniem ---------- */
.rich > :last-child { margin-bottom: 0; }
.rich p { color: #d4cacb; }
.rich strong { color: var(--text); font-weight: 700; }
.rich a { color: var(--accent-2); text-underline-offset: 3px; }
.rich a:hover { color: #fff; }
.rich ul { margin: 0 0 1.1em; display: grid; gap: .45rem; }
.rich ul li { position: relative; padding-left: 1.5rem; color: #d4cacb; }
.rich ul li::before { content: ""; position: absolute; left: .2rem; top: .62em; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.rich h2, .rich h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 1.8rem 0 .8rem; }
.rich blockquote { margin: 1.4rem 0; padding: .4rem 0 .4rem 1.4rem; border-left: 3px solid var(--accent); font-size: 1.2em; color: var(--text); font-style: italic; }
.rich.big { font-size: 1.12rem; line-height: 1.75; }
.rich.big p { max-width: 70ch; }

/* ---------- Zespół ---------- */
.team { margin-top: clamp(3rem, 6vw, 4.5rem); }
.team-title { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 1.6rem; display: flex; align-items: center; gap: 1rem; }
.team-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1.2rem; }
.member { border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5); background: var(--surface); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.member:hover { border-color: var(--line-2); transform: translateY(-4px); }
.member-photo { aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 65%), var(--surface-2); display: grid; place-content: center; overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.05); transition: filter .4s, transform .6s var(--ease); }
.member:hover .member-photo img { filter: none; transform: scale(1.04); }
.member-photo span { font: 900 3.4rem/1 var(--display); color: rgba(255,255,255,.9); }
.member-body { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .3rem; }
.member h4 { font: 800 1.45rem/1 var(--display); text-transform: uppercase; margin: 0; }
.member-role { margin: 0; font: 700 .82rem/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.member-bio { margin: .3rem 0 0; color: var(--muted); font-size: .95rem; }
.member-link { margin-top: .4rem; display: inline-flex; align-items: center; gap: .3rem; font-size: .9rem; color: var(--muted); text-decoration: none; }
.member-link:hover { color: var(--text); }

/* ---------- Podstrony: gra / wpis ---------- */
.d-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.d-wrap.narrow { max-width: 860px; }
.d-hero { position: relative; isolation: isolate; overflow: hidden; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.d-hero-bg { position: absolute; inset: 0; z-index: -1; background: center / cover no-repeat; opacity: .5; }
.d-hero-bg.blur { filter: blur(50px) saturate(1.5); transform: scale(1.3); opacity: .45; }
.d-hero-bg.empty { opacity: 1; background: radial-gradient(ellipse at 70% 0%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 60%); }
.d-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,7,8,.55) 0%, rgba(10,7,8,.7) 45%, var(--bg) 100%), linear-gradient(90deg, rgba(10,7,8,.85), transparent 70%); }
.d-hero-in { padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem)); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-bottom: clamp(1.5rem, 3vw, 2.4rem); font: 700 .85rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
.crumb-sep { color: var(--dim); }
.d-hero-grid { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.d-hero-grid .cover { box-shadow: 0 40px 80px -20px rgba(0,0,0,.85); border: 1px solid var(--line-2); }
.d-hero-info { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; padding-bottom: .4rem; }
.d-hero h1 { font-size: clamp(3rem, 8vw, 6.6rem); font-weight: 900; line-height: .86; }
.d-hero .lead { font-size: clamp(1.15rem, 2vw, 1.45rem); color: #e6dddf; margin: 0; max-width: 46ch; }
.d-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.d-chips .fact { color: var(--muted); }
.d-chips .fact + .fact::before { content: "/"; margin-right: 1rem; color: var(--dim); }
.d-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .4rem; }
.status.big { padding: .9rem 1.2rem; font-size: .95rem; }
.d-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2rem, 4vw, 3rem); align-items: start; }
.d-main { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); min-width: 0; }
.d-title { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 1rem; }
.d-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.d-side { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.d-card { display: grid; gap: 1.4rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.d-card-title { margin: 0; font: 700 .82rem/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.d-meta { display: grid; gap: 0; }
.d-meta > div { display: grid; gap: .45rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.d-meta > div:first-child { padding-top: 0; }
.d-meta dt { font: 700 .78rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.d-meta dd a { color: var(--accent-2); }
.d-links { display: grid; gap: .4rem; }
.d-links a { display: flex; justify-content: space-between; align-items: center; padding: .75rem .9rem; border: 1px solid var(--line-2); border-radius: var(--radius); text-decoration: none; font-weight: 600; transition: border-color .2s, background .2s; }
.d-links a:hover { border-color: var(--accent); background: var(--accent-soft); }
.d-more { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.d-more + .d-pager { padding-top: 0; }
.d-pager { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem 0 clamp(3rem, 6vw, 5rem); }
.pager-btn { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); max-width: 48%; transition: border-color .2s, background .2s; }
.pager-btn:hover { border-color: var(--line-2); background: var(--surface); }
.pager-btn span { display: grid; gap: .3rem; min-width: 0; }
.pager-btn small { font: 700 .75rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.pager-btn strong { font: 800 1.2rem/1.05 var(--display); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pager-btn.next { margin-left: auto; text-align: right; }
.d-404 { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; padding-top: var(--header-h); }
.d-404 h1 { font-size: clamp(4rem, 14vw, 8rem); font-weight: 900; }
.d-404 p { color: var(--muted); }
.steam { border-radius: var(--radius); overflow: hidden; max-width: 646px; }
.steam iframe { width: 100%; height: 190px; border: 0; display: block; }
.video button { flex-direction: column; gap: 1rem; }
.video-label { position: relative; font: 800 1rem/1 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.shots.one { grid-template-columns: 1fr; }
.shot-btn { position: relative; }
.shot-zoom { position: absolute; right: .7rem; bottom: .7rem; width: 40px; height: 40px; display: grid; place-content: center; border-radius: 50%; background: rgba(10,7,8,.75); backdrop-filter: blur(6px); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .3s var(--ease); }
.shot-btn:hover .shot-zoom, .shot-btn:focus-visible .shot-zoom { opacity: 1; transform: none; }
.news-grid.cols-1 { grid-template-columns: minmax(0, 420px); }
.news-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.news-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) {
  .d-body { grid-template-columns: 1fr; }
  .d-side { position: static; }
  .news-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .d-hero-grid { grid-template-columns: 1fr; }
  .d-hero-grid .cover { max-width: 210px; }
  .news-grid.cols-2, .news-grid.cols-3 { grid-template-columns: 1fr; }
  .pager-btn { max-width: none; flex: 1; }
  .d-pager { flex-direction: column; }
}

/* wpis */
.post-hero { min-height: min(62vh, 560px); display: flex; align-items: flex-end; }
.post-hero:not(.has-img) { min-height: 0; }
.post-hero .d-hero-in { width: 100%; }
.post-hero h1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); margin: 1rem 0 1.2rem; }
.post-hero .d-hero-bg { opacity: .55; }
.post-article { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 2rem; }
.post-text > p:first-child:not([style])::first-letter { float: left; font: 900 4.2rem/.8 var(--display); color: var(--accent); margin: .35rem .6rem 0 0; }
.post-game { display: grid; grid-template-columns: 90px 1fr auto; gap: 1.2rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5); background: var(--surface); text-decoration: none; transition: border-color .2s; }
.post-game:hover { border-color: var(--accent); }
.post-game-cover { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; }
.post-game-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-game-cover .slot-title, .post-game-cover .slot-text { display: none; }
.post-game small { font: 700 .75rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.post-game strong { display: block; font: 900 1.7rem/1 var(--display); text-transform: uppercase; margin: .3rem 0 .4rem; }
.post-game p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 600px) { .post-game { grid-template-columns: 70px 1fr; } .post-game .btn { grid-column: 1 / -1; } }

/* ---------- Udostępnianie ---------- */
.btn-icon { padding: 0; width: 52px; min-height: 50px; justify-content: center; }
[data-theme="cinematic"] .btn.ghost.btn-icon { clip-path: none; }
.share-pop { position: fixed; z-index: 400; width: min(340px, calc(100vw - 24px)); padding: .9rem; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(21,16,17,.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(0,0,0,.7); animation: popIn .22s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.share-title { margin: 0 .2rem .7rem; font: 700 .76rem/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-copy { width: 100%; display: flex; align-items: center; gap: .75rem; padding: .7rem; margin-bottom: .6rem; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255,255,255,.03); color: var(--text); cursor: pointer; text-align: left; font: inherit; transition: border-color .2s, background .2s; }
.share-copy:hover { border-color: var(--accent); }
.share-copy.done { border-color: #4ad37e; background: rgba(74,211,126,.08); }
.share-copy.done .share-ic { background: #4ad37e; color: #04130a; }
.share-txt { display: grid; min-width: 0; }
.share-txt strong { font-size: .95rem; }
.share-txt small { font-size: .78rem; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-ic { width: 34px; height: 34px; flex: none; display: grid; place-content: center; border-radius: 10px; background: var(--surface-3); color: var(--text); transition: background .2s, color .2s; }
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.share-net { display: flex; align-items: center; gap: .6rem; padding: .45rem; border-radius: 12px; text-decoration: none; font-size: .9rem; font-weight: 500; color: #e7dfe0; transition: background .2s; }
.share-net:hover { background: rgba(255,255,255,.06); }
.net-facebook:hover .share-ic { background: #1877f2; color: #fff; }
.net-x:hover .share-ic { background: #fff; color: #000; }
.net-reddit:hover .share-ic { background: #ff4500; color: #fff; }
.net-whatsapp:hover .share-ic { background: #25d366; color: #04130a; }
.net-telegram:hover .share-ic { background: #29a9eb; color: #fff; }
.net-linkedin:hover .share-ic { background: #0a66c2; color: #fff; }
.net-email:hover .share-ic { background: var(--accent); color: #fff; }
.foot-bottom-r { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; }
.foot-share { display: inline-flex; align-items: center; gap: .45rem; background: none; border: 1px solid var(--line-2); border-radius: 99px; padding: .45rem .9rem; color: var(--muted); font: 600 .88rem/1 var(--body); cursor: pointer; transition: color .2s, border-color .2s; }
.foot-share:hover { color: var(--text); border-color: var(--accent); }
.d-share { width: 100%; justify-content: center; }
button.tile-go { background: none; cursor: pointer; padding: 0; color: var(--text); }
.tile-brand .tile-foot { align-items: center; }
.tile-link { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.tile-share:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Społeczność (Discord) ---------- */
.community { border-top: 1px solid var(--line); }
[data-theme="bento"] .community { border-top: 0; }
.comm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap, 14px); }
.comm-grid:not(.has-dc) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.dc-card { position: relative; isolation: isolate; overflow: hidden; grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; gap: 1.4rem; justify-content: space-between; min-height: 320px; padding: clamp(1.5rem, 3.5vw, 2.4rem); border: 1px solid rgba(88,101,242,.45); border-radius: var(--tile-r, 18px); background: radial-gradient(ellipse at 100% 0%, rgba(88,101,242,.45), transparent 60%), linear-gradient(160deg, #1b1a2e, var(--surface) 70%); }
.comm-grid.n0 .dc-card { grid-column: 1 / -1; grid-row: auto; min-height: 0; flex-direction: row; align-items: center; flex-wrap: wrap; }
.dc-glow { position: absolute; z-index: -1; left: -10%; bottom: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(88,101,242,.35), transparent 65%); filter: blur(10px); animation: glow 9s ease-in-out infinite alternate; }
.dc-logo { width: 64px; height: 64px; display: grid; place-content: center; border-radius: 18px; background: #5865f2; color: #fff; box-shadow: 0 14px 40px -10px rgba(88,101,242,.8); flex: none; }
.dc-body { display: grid; gap: .55rem; flex: 1; }
.dc-label { margin: 0; font: 700 .76rem/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: #aab1ff; }
.dc-card h3 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 900; }
.dc-text { margin: 0; color: #d6d4e6; }
.dc-online { display: inline-flex; align-items: center; gap: .45rem; margin: .2rem 0 0; color: #d6d4e6; }
.dc-online i { width: 9px; height: 9px; border-radius: 50%; background: #23a55a; box-shadow: 0 0 0 4px rgba(35,165,90,.2); animation: pulse 1.8s infinite; }
.dc-online strong { color: #fff; }
.dc-avatars { display: flex; align-items: center; margin-top: .5rem; }
.dc-av { position: relative; width: 40px; height: 40px; margin-right: -10px; border-radius: 50%; border: 3px solid #1b1a2e; background: #2b2d42; }
.dc-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.dc-av::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid #1b1a2e; background: #23a55a; }
.dc-av.idle::after { background: #f0b232; }
.dc-av.dnd::after { background: #f23f43; }
.dc-more { margin-left: 18px; font-size: .9rem; color: #aab1ff; font-weight: 600; }
.btn.dc-btn { align-self: flex-start; background: #5865f2; }
.btn.dc-btn:hover { background: #4752c4; }
.comm-tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: .6rem; padding: 1.5rem; min-height: 155px; border: 1px solid var(--line); border-radius: var(--tile-r, 18px); background: var(--surface); text-decoration: none; transition: border-color .3s, transform .4s var(--ease); }
.comm-tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
.comm-ic { width: 42px; height: 42px; display: grid; place-content: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); }
.comm-emoji { font-size: 1.35rem; line-height: 1; }
.comm-tile h3 { font-size: 1.45rem; }
.comm-tile p { margin: 0; color: var(--muted); font-size: .95rem; }
.comm-go { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font: 800 .9rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.comm-tile:hover .comm-go svg { transform: translateX(4px); }
.comm-go svg { transition: transform .3s var(--ease); }
.btn.d-discord { width: 100%; background: #5865f2; clip-path: none; }
.btn.d-discord:hover { background: #4752c4; }
@media (max-width: 1000px) { .comm-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .comm-grid { grid-template-columns: 1fr; } .dc-card { grid-column: auto; grid-row: auto; } }
.dc-av b { display: grid; place-content: center; width: 100%; height: 100%; border-radius: 50%; background: #5865f2; color: #fff; font-size: .9rem; }

/* ---------- Tekst z edytora (HTML) ---------- */
.rich ol { margin: 0 0 1.1em; padding-left: 1.6rem; display: grid; gap: .45rem; color: #d4cacb; }
.rich ol li::marker { color: var(--accent); font-weight: 700; }
.rich ul ul, .rich ol ol, .rich ul ol, .rich ol ul { margin: .45rem 0 0; }
.rich u { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.rich s { opacity: .7; }
.rich em { color: #ece4e5; }
.rich img { max-width: 100%; height: auto; border-radius: var(--radius); margin: .4rem 0; display: inline-block; }
.rich p:has(> img:only-child) { max-width: none; }
.rich figure { margin: 1.4rem 0; }
.rich figcaption { color: var(--dim); font-size: .9rem; margin-top: .5rem; }
.rich hr { border: 0; height: 1px; background: var(--line-2); margin: 2rem 0; }
.rich [style*="text-align:center"], .rich [style*="text-align: center"] { margin-left: auto; margin-right: auto; }
.rich p[style*="center"], .rich h2[style*="center"], .rich h3[style*="center"] { max-width: none; }
.rich p[style*="right"] { max-width: none; }
.rich h2 + p, .rich h3 + p { margin-top: 0; }
.rich, .rich * { overflow-wrap: anywhere; }

/* ---------- Długie treści (audyt strony gry) ---------- */
/* długie tytuły: mniejsza czcionka */
.d-hero h1.t-l { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.d-hero h1.t-xl { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: .95; }
.post-hero h1.t-l { font-size: clamp(2.2rem, 5vw, 4rem); }
.post-hero h1.t-xl { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: .98; }
.feature h3.t-l { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.feature h3.t-xl { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.poster h3.t-l { font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
.poster h3.t-xl { font-size: clamp(1.3rem, 1.9vw, 1.55rem); }
.tile-game-meta strong.t-l { font-size: clamp(1.35rem, 1.9vw, 1.7rem); }
.tile-game-meta strong.t-xl { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.d-hero h1, .post-hero h1, .d-hero .lead { overflow-wrap: anywhere; }
.d-hero .lead { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
/* panel boczny nie wyższy niż ekran – przewija się sam */
@media (min-width: 1001px) {
  .d-side .d-card { max-height: calc(100vh - var(--header-h) - 3rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
}
.d-meta dd { overflow-wrap: anywhere; }
.tag-more button { font: 600 .82rem/1 var(--body); color: var(--text); background: var(--surface-3); border: 0; border-radius: 99px; padding: .32rem .7rem; cursor: pointer; }
.tag-more button:hover { background: var(--accent); }
/* zwijanie: długi opis, lista cech, galeria */
.collapse { position: relative; overflow: hidden; max-height: 760px; transition: max-height .5s var(--ease); }
.collapse.list { max-height: 330px; }
.collapse.gallery { max-height: 560px; }
.collapse::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; transition: opacity .3s; }
.collapse.open { max-height: none; }
.collapse.open::after { opacity: 0; }
.collapse-foot { display: flex; justify-content: center; margin-top: .6rem; }
.collapse-btn svg { transition: transform .3s; }
/* pasek postępu czytania */
.read-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 70; height: 3px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.read-bar.on { opacity: 1; }
.read-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 50%, #ffb199)); transform-origin: 0 50%; transform: scaleX(0); }

/* czat na żywo (WidgetBot) */
.chat-tile { grid-column: 1 / -1; border: 1px solid rgba(88,101,242,.4); border-radius: var(--tile-r, 18px); background: #13121f; overflow: hidden; }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.2rem; border-bottom: 1px solid rgba(88,101,242,.25); }
.chat-head .dc-online { margin: 0; }
.chat-open-dc { color: #aab1ff; text-decoration: none; font-size: .9rem; display: inline-flex; align-items: center; gap: .3rem; }
.chat-open-dc:hover { color: #fff; }
.chat-frame { height: clamp(420px, 60vh, 600px); display: grid; }
.chat-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.chat-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; padding: 2rem; background: radial-gradient(ellipse at 50% 0%, rgba(88,101,242,.25), transparent 60%); }
.chat-ph-t { max-width: 46ch; margin: 0; color: #d6d4e6; font-size: 1.05rem; }
.chat-ph small { color: var(--dim); max-width: 50ch; }
.chat-ph .btn.dc-btn { align-self: center; }

/* ---------- Newsletter ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.newsletter { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.nl-box { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.4rem, 4vw, 3rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line-2); border-radius: var(--tile-r, 18px); background: radial-gradient(ellipse at 0% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%), var(--surface); }
.nl-box.game { grid-template-columns: 1fr; gap: 1.2rem; padding: clamp(1.3rem, 3vw, 2rem); }
.nl-glow { position: absolute; z-index: -1; right: -10%; bottom: -60%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 65%); filter: blur(10px); }
.nl-copy { display: grid; gap: .6rem; justify-items: start; }
.nl-ic { width: 46px; height: 46px; display: grid; place-content: center; border-radius: 14px; background: var(--accent); color: #fff; box-shadow: 0 12px 30px -10px var(--accent); }
.nl-box h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 900; }
.nl-box.game h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.nl-box p { margin: 0; color: #d6cccd; }
.nl-form { display: grid; gap: .8rem; }
.nl-row { display: flex; gap: .5rem; }
.nl-row input { flex: 1; min-width: 0; font: inherit; color: var(--text); background: rgba(0,0,0,.4); border: 1px solid var(--line-2); border-radius: 12px; padding: .9rem 1rem; transition: border-color .2s; }
.nl-row input:focus { outline: none; border-color: var(--accent); }
.nl-row .btn { flex: none; }
[data-theme="cinematic"] .nl-row input { border-radius: 2px; }
.nl-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--muted); line-height: 1.45; cursor: pointer; }
.nl-consent input { margin-top: .2rem; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.nl-consent a { color: var(--muted); }
.nl-note { margin: 0; min-height: 1.2em; font-size: .92rem; font-weight: 600; }
.nl-note.ok { color: #7ee2a1; }
.nl-note.err { color: #ff8f95; }
.nl-form.done .nl-row, .nl-form.done .nl-consent { display: none; }
@media (max-width: 760px) { .nl-box { grid-template-columns: 1fr; } .nl-row { flex-direction: column; } .nl-row .btn { width: 100%; } }
/* strona potwierdzenia zapisu */
.nl-page { min-height: 72vh; display: grid; place-items: center; padding: calc(var(--header-h) + 3rem) var(--pad) 3rem; }
.nl-page-card { max-width: 560px; text-align: center; display: grid; justify-items: center; gap: 1rem; padding: clamp(2rem, 5vw, 3rem); border: 1px solid var(--line-2); border-radius: var(--tile-r, 18px); background: var(--surface); }
.nl-page-card h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; }
.nl-page-card p { color: var(--muted); margin: 0; }
.nl-page-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-content: center; font: 900 2rem/1 var(--display); }
.nl-page-ic.ok { background: rgba(74,211,126,.15); color: #7ee2a1; }
.nl-page-ic.err { background: var(--accent-soft); color: #ff8f95; }

/* ---------- Dokumenty prawne ---------- */
.legal-meta { color: var(--dim); font-size: .92rem; margin-top: -1rem; }
.legal h3 { font-size: 1.3rem; margin: 1.6rem 0 .5rem; color: var(--text); }
.legal ul, .legal ol { margin: 0 0 1.2rem; padding-left: 1.3rem; color: var(--muted); display: grid; gap: .45rem; list-style: revert; }
.legal ol li::marker { color: var(--accent); font-weight: 700; }
.legal a { color: var(--accent-2); }
.legal mark.todo { background: rgba(255,181,71,.18); color: #ffcf8a; padding: .1rem .4rem; border-radius: 4px; font-weight: 600; }
.legal h2 { scroll-margin-top: calc(var(--header-h) + 1rem); }
.form-legal, .nl-legal { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--dim); max-width: none; }
.form-legal a, .nl-legal a { color: var(--muted); }
.foot-legal { max-width: var(--wrap); margin: .8rem auto 0; color: var(--dim); font-size: .82rem; }
.foot-legal p { margin: 0; max-width: none; }
.price-note { margin: .4rem 0 0; padding: 1rem 1.2rem; border: 1px dashed var(--line-2); border-radius: var(--tile-r, 14px); color: var(--muted); font-size: .9rem; max-width: none; }
.price-note a { color: var(--accent-2); }
.contact-actions .form-legal { flex-basis: 100%; margin-top: .4rem; }

/* ---------- Treści zewnętrzne ładowane po kliknięciu (YouTube, Steam) ---------- */
.tp { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface) center / cover no-repeat; }
.tp.video { aspect-ratio: 16 / 9; }
.tp.has-poster::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,7,8,.35), rgba(10,7,8,.85)); }
.tp.on { display: block; border: 0; }
.tp.on iframe { width: 100%; height: 100%; border: 0; display: block; }
.tp.steam.on { height: 190px; }
.tp-inner { display: flex; flex-direction: column; align-items: center; gap: .9rem; text-align: center; padding: 1.4rem; max-width: 560px; }
.tp-play { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; cursor: pointer; color: #fff; background: var(--accent); font: 800 1rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; padding: .9rem 1.4rem; border-radius: 99px; box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 22%, transparent); transition: transform .3s var(--ease); }
.tp.video .tp-play { width: 84px; height: 84px; padding: 0; border-radius: 50%; }
.tp-play:hover { transform: scale(1.06); }
.tp-label { font: 800 1rem/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.tp-info { margin: 0; font-size: .8rem; line-height: 1.5; color: #cfc5c6; max-width: 48ch; }
.tp-info a { color: #fff; }
.tp.steam { min-height: 170px; background: linear-gradient(135deg, #1b2838, #171a21); border-color: rgba(102,192,244,.25); }
.tp.steam .tp-play { background: #1a9fff; box-shadow: 0 0 0 6px rgba(26,159,255,.2); }
@media (max-width: 600px) { .tp-info { font-size: .74rem; } .tp.video .tp-play { width: 64px; height: 64px; } }
.tp .tp-play::before { display: none; }
.tp.video .tp-play { background: var(--accent); color: #fff; }
