/* Strona Blockbyte Launcher: styl "Blok i Bit" jak w samym launcherze (pełne powierzchnie, twarde cienie, klawisz GRAJ w limonce, Jersey 10 + Inter).
   Bez skryptów (CSP strony pozwala tylko na własne pliki), wszystko działa na samym CSS: FAQ to <details>, przełącznik języka to zwykłe linki. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/inter-latin-ext.woff2?v=1ad231aa") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/inter-latin.woff2?v=260c81a4") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jersey 10"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/jersey-latin-ext.woff2?v=0bdba389") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jersey 10"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/jersey-latin.woff2?v=abd0534c") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0a0816; --bg2: #100d20; --panel: #171523; --panel2: #1f1b30; --line: rgba(255,255,255,.1); --edge: rgba(255,255,255,.2);
  --text: #f4f0ff; --muted: #b9b3d9; --dim: #9791bd;
  --accent: #8b5cf6; --accent-l: #c4b5fd; --cyan: #22d3ee; --lime: #8fe83c; --lime-d: #5aa51a; --amber: #fbbf24; --red: #ef4444;
  --r: 8px; --r-sm: 4px; --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif; --pixel: "Jersey 10", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--accent-l); }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 3px; }
code, .mono { overflow-wrap: anywhere; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .92em; background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: var(--r-sm); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: #10200a; padding: 8px 14px; border-radius: var(--r); font-weight: 800; z-index: 100; }
.skip:focus { left: 8px; }
h1, h2, h3 { margin: 0; font-weight: 400; font-family: var(--pixel); letter-spacing: .01em; line-height: 1.05; }
h2 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 14px; }
h3, h2.h3 { font-size: 26px; margin-bottom: 6px; }
h2.h3 { margin-top: 0; }
.eyebrow { font: 800 12px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.lead { font-size: 18px; color: var(--muted); max-width: 62ch; }
.sec { padding: 64px 0 8px; }
.sec .lead { margin: 0 0 26px; }

/* pasek górny */
.top { position: sticky; top: 0; z-index: 50; background: rgba(10,8,22,.94); border-bottom: 2px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 28px/1 var(--pixel); margin-right: auto; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.top nav { display: flex; gap: 4px; }
.top nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: var(--r-sm); font-weight: 650; font-size: 15px; }
.top nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.lang { flex: none; display: flex; border: 2px solid var(--edge); border-radius: var(--r-sm); overflow: hidden; font-weight: 800; font-size: 13px; }
.lang a, .lang span { padding: 5px 10px; text-decoration: none; color: var(--muted); }
.lang [aria-current] { background: #7c3aed; color: #fff; }
.lang a:focus-visible { outline-offset: -3px; }
.top .btn-sm { padding: 8px 14px; font-size: 14px; }

/* przycisk pobierania: klawisz w limonce jak GRAJ w launcherze */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: var(--r); background: var(--lime); color: #10200a; font: 800 18px/1.1 var(--font); text-decoration: none; box-shadow: 0 5px 0 var(--lime-d), 0 5px 0 2px rgba(0,0,0,.35); transition: transform .08s, box-shadow .08s, filter .12s; }
.btn:hover { color: #10200a; filter: brightness(1.06); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--lime-d), 0 1px 0 2px rgba(0,0,0,.35); }
.btn.alt { background: var(--panel2); color: var(--text); box-shadow: 0 5px 0 rgba(0,0,0,.5); border: 2px solid var(--edge); }
.btn.alt:hover { color: #fff; }
.btn-sm { font-size: 15px; padding: 10px 16px; box-shadow: 0 3px 0 var(--lime-d); }
.btn svg { flex: none; }

/* sekcja startowa */
.hero { position: relative; overflow: hidden; border-bottom: 2px solid var(--line); background: linear-gradient(180deg, rgba(10,8,22,.2), var(--bg) 100%), linear-gradient(90deg, rgba(10,8,22,.97) 0, rgba(10,8,22,.9) 34%, rgba(10,8,22,.55) 62%, rgba(10,8,22,.35) 100%), url("/img/hero.webp?v=e4f2f1d6") center 30% / cover no-repeat, var(--bg); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(54px, 8vw, 92px); margin: 12px 0 16px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .sub { font-size: 19px; color: #d8d3f3; max-width: 46ch; margin: 0 0 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 14px; }
.meta { color: var(--muted); font-size: 14px; margin: 0; }
.meta b { color: var(--text); }
.frame { border: 2px solid var(--edge); border-radius: var(--r); background: var(--panel); box-shadow: 0 8px 0 rgba(0,0,0,.5), 0 24px 60px rgba(0,0,0,.5); overflow: hidden; }
.frame img { display: block; width: 100%; height: auto; }
.notice { margin: 0; padding: 14px 18px; border-top: 2px solid rgba(251,191,36,.45); border-bottom: 2px solid rgba(251,191,36,.45); background: rgba(251,191,36,.08); color: #fde68a; font-weight: 800; letter-spacing: .03em; font-size: 14px; text-align: center; }

/* karty, siatka funkcji */
.card { background: var(--panel); border: 2px solid var(--edge); border-radius: var(--r); box-shadow: 0 4px 0 rgba(0,0,0,.45); padding: 22px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.feat .ic { color: var(--lime); margin-bottom: 12px; display: block; image-rendering: pixelated; }
.feat p { margin: 0; color: var(--muted); }
.feat.wide { grid-column: span 2; }
@media (max-width: 640px) { .feat.wide { grid-column: auto; } }

/* zrzuty */
.shots { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shots figure { margin: 0; }
.shots figure.big { grid-column: 1 / -1; }
.shots a { display: block; text-decoration: none; }
.shots figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; }
.shots figcaption b { color: var(--text); }

/* pobieranie */
.dl { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.dl .big { font-size: 20px; padding: 18px 30px; }
.dl ol { margin: 0; padding-left: 22px; }
.dl li { margin: 0 0 10px; color: #d8d3f3; }
.dl h3 { margin-top: 18px; }
.dl h3:first-child { margin-top: 0; }
.hash { display: block; margin: 8px 0 12px; padding: 10px 12px; word-break: break-all; user-select: all; background: #0d0b19; border: 2px solid var(--line); border-radius: var(--r-sm); font-size: 13px; color: #e8e3ff; }
.hash.cmd { word-break: normal; overflow-wrap: break-word; white-space: pre-wrap; }
.mt12 { margin-top: 12px; }
.mt18 { margin-top: 18px; }
.m0 { margin: 0; }
.list-tight { margin: 0 0 6px; padding-left: 20px; }
.note { margin: 12px 0 0; }
.vt { margin: 4px 0 8px; font-weight: 700; }
.vt.ok { color: #86efac; }
.vt.ok::before { content: '\2713  '; }
.vt.warn { color: #fde68a; }
.small { font-size: 14px; color: var(--muted); }
.warn { border-color: rgba(251,191,36,.5); }

/* FAQ */
details { background: var(--panel); border: 2px solid var(--edge); border-radius: var(--r); margin: 0 0 12px; }
summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 700; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 28px/1 var(--pixel); color: var(--lime); }
details[open] summary::after { content: "\2013"; }
details[open] summary { border-bottom: 2px solid var(--line); }
details .a { padding: 14px 18px 16px; color: #d8d3f3; }
details .a p { margin: 0 0 10px; }
details .a p:last-child { margin: 0; }

/* zasady, prywatność, kontakt */
.prose ul { padding-left: 22px; margin: 0; }
.prose li { margin: 0 0 10px; color: #d8d3f3; }
.prose li:last-child { margin-bottom: 0; }
.stack { display: grid; gap: 18px; }
.two { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

footer { margin-top: 70px; padding: 30px 0 46px; border-top: 2px solid var(--line); background: var(--bg2); color: var(--dim); font-size: 14px; }
footer p { margin: 0 0 10px; max-width: 90ch; }
footer .links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 14px; }
footer .links a { color: var(--muted); }

@media (min-width: 981px) { .brand, .top nav a { white-space: nowrap; } }
@media (max-width: 1180px) { .top nav { display: none; } }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
  .dl { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) { .top .btn-sm { display: none; } .brand { font-size: 22px; } }
@media (max-width: 720px) {
  .shots, .two { grid-template-columns: minmax(0, 1fr); }
  .top nav { display: none; }
  .brand { font-size: 24px; }
  .hero h1 { font-size: 56px; }
  .sec { padding-top: 48px; }
  .btn { width: 100%; }
  .top .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
