/* fuchsware.pl - strona studia (od 2026-10-24, zastepuje wersje z 2026-10-11, ten sam wyglad).
 * Czcionki z wlasnego serwera (Orbitron, Chakra Petch - SIL OFL 1.1, fonty/OFL.txt).
 * Bez zewnetrznych zasobow, bez ciasteczek i analityki. */
@font-face { font-family: "Orbitron"; font-weight: 900; font-display: swap; src: url("fonty/orbitron-900.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 500; font-display: swap; src: url("fonty/chakra-petch-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 500; font-display: swap; src: url("fonty/chakra-petch-500-latin-ext.woff2") format("woff2"); unicode-range: U+100-24F, U+1E00-1EFF; }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-display: swap; src: url("fonty/chakra-petch-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-display: swap; src: url("fonty/chakra-petch-700-latin-ext.woff2") format("woff2"); unicode-range: U+100-24F, U+1E00-1EFF; }

:root {
  --tlo: #0a0614;
  --panel: rgba(18, 10, 34, 0.7);
  --tekst: #ece6ff;
  --cichy: rgba(236, 230, 255, 0.62);
  --cichszy: rgba(236, 230, 255, 0.45);
  --pomarancz: #ff7a2f;
  --pomarancz-jasny: #ffaa5a;
  --ramka: rgba(255, 122, 47, 0.35);
  --cyjan: #19f6ff;
  --roz: #ff2fd0;
  --zielony: #4dffb0;
  --bursztyn: #ffd860;
  --font: "Chakra Petch", system-ui, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--tlo); }
body { margin: 0; min-height: 100vh; background: var(--tlo); color: var(--tekst); font: 500 16px/1.5 var(--font); }
a { color: var(--pomarancz-jasny); }
html:not([lang="pl"]) .pl, html:not([lang="en"]) .en, html:not([lang="de"]) .de { display: none !important; }
.px { image-rendering: pixelated; image-rendering: crisp-edges; }

/* tlo: pomaranczowa poswiata + plotno z gwiazdami i falami (tlo.js) */
#tlo { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  background: radial-gradient(60vmax 45vmax at 85% 0%, rgba(255, 122, 47, 0.16), transparent 70%),
              radial-gradient(70vmax 50vmax at 0% 100%, rgba(120, 40, 200, 0.12), transparent 70%), var(--tlo); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px 40px; }

/* naglowek */
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.marka { display: inline-flex; align-items: center; gap: 12px; color: var(--tekst); text-decoration: none; padding: 4px 0; }
.marka img { width: 40px; height: 40px; }
.marka b { font-weight: 700; font-size: 18px; letter-spacing: 0.28em; }
.jezyki { display: flex; gap: 6px; }
.jezyki button {
  font: 700 12px/1 var(--font); letter-spacing: 0.08em; padding: 8px 10px; min-width: 40px; min-height: 34px; cursor: pointer;
  color: var(--cichy); background: var(--panel); border: 1px solid var(--ramka); border-radius: 4px;
}
.jezyki button[aria-pressed="true"] { color: #fff; border-color: var(--pomarancz); }

/* tytul studia */
.hero { padding: 64px 0 56px; }
.kicker, .sekcja-tytul { margin: 0 0 14px; font-weight: 700; font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--pomarancz-jasny); }
h1 {
  margin: 0; font-weight: 700; font-size: clamp(44px, 11vw, 112px); line-height: 0.95; letter-spacing: 0.06em; color: #fff;
  text-shadow: 0 0 18px rgba(255, 122, 47, 0.55), 0 0 60px rgba(255, 122, 47, 0.35);
}
h1 span { color: var(--pomarancz); text-shadow: 0 0 14px rgba(255, 122, 47, 0.9), 0 0 50px rgba(255, 122, 47, 0.6); }
.lead { margin: 22px 0 0; max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--cichy); }

/* gry */
.gry { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.karta {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 10px;
  background: linear-gradient(135deg, rgba(30, 10, 50, 0.9), rgba(10, 6, 20, 0.95));
  border: 1px solid rgba(25, 246, 255, 0.3);
}
.karta.dx { border-color: rgba(255, 47, 208, 0.45); }
.art { position: relative; height: 320px; overflow: hidden; }   /* 320 = baner DX dokladnie 2x */
.art.neon { background: #07040f url("img/synth_river.jpg") center 58% / cover no-repeat; }   /* tlo strony synthriver.com */
.art .napis { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-58%); text-align: center; font: 900 clamp(34px, 4.4vw, 46px)/0.95 "Orbitron", var(--font); }
.art .napis i { display: block; font-style: normal; }
.art .napis i:first-child { color: #fff4ff; text-shadow: 0 0 6px #fff, 0 0 22px var(--roz), 0 0 50px var(--roz); }
.art .napis i:last-child { color: var(--cyjan); text-shadow: 0 0 6px #bffcff, 0 0 24px var(--cyjan), 0 0 50px var(--cyjan); }
.art.dx { background: #0c0418; }
.art.dx img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.info { display: flex; flex-direction: column; flex-grow: 1; padding: 20px 22px 22px; }
.badge { align-self: flex-start; padding: 4px 9px; border-radius: 3px; font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #07040f; }
.badge.zielony { background: var(--zielony); }
.badge.bursztyn { background: var(--bursztyn); }
.info h3 { margin: 12px 0 6px; font: 900 22px/1.2 "Orbitron", var(--font); letter-spacing: 0.04em; }
.info h3 small { display: block; margin-top: 4px; font: 700 12px/1.3 var(--font); letter-spacing: 0.2em; color: var(--cichszy); }
.info p { margin: 0 0 18px; color: var(--cichy); }
.linki { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.przycisk { display: inline-block; padding: 11px 16px; min-height: 44px; border-radius: 4px; font-weight: 700; letter-spacing: 0.08em; text-decoration: none; }
.przycisk.glowny { background: var(--roz); color: #fff; box-shadow: 0 0 20px rgba(255, 47, 208, 0.45); }
.przycisk.glowny:hover { background: #ff5adb; color: #fff; }
.wiecej { display: inline-block; padding: 10px 0; font-weight: 700; color: var(--cyjan); text-decoration: none; }
.wiecej:hover { color: #fff; }

/* o studiu */
.o-nas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.o-nas div { padding: 16px 18px; border-radius: 8px; background: var(--panel); border: 1px solid var(--ramka); }
.o-nas b { display: block; margin-bottom: 4px; font-size: 15px; color: #fff; }
.o-nas span { font-size: 14px; line-height: 1.5; color: var(--cichy); }

footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 20px;
  border-top: 1px solid rgba(255, 122, 47, 0.2); font-size: 13px; color: var(--cichszy);
}
footer a { color: var(--cichszy); display: inline-block; padding: 12px 0; margin: -12px 0; }

@media (max-width: 760px) {
  .gry, .o-nas { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 40px; }
  .lead { font-size: 17px; }
}
@media (max-width: 420px) {
  .marka b { font-size: 15px; letter-spacing: 0.2em; }
  .info { padding: 18px; }
}
@media (pointer: coarse) {
  .jezyki button { min-height: 44px; min-width: 44px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero { padding: 24px 0 32px; }
  h1 { font-size: min(11vw, 20vh); }
}
