:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #eef2f7;
  background: #09111e;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { background: #09111e; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 70% -10%, rgba(70, 104, 148, .22), transparent 36%),
    radial-gradient(circle at 10% 20%, rgba(40, 112, 91, .12), transparent 30%),
    #09111e;
}
a { color: inherit; }
.page-shell { min-height: 100vh; }
.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid #445875;
  background: linear-gradient(145deg, #20314c, #132036);
  font-weight: 900;
  letter-spacing: -.03em;
}
.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: .04em; }
.brand small { color: #91a4ba; margin-top: 2px; font-size: .78rem; }
.main-site-link {
  text-decoration: none;
  color: #b9c7d7;
  border: 1px solid #31445e;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .86rem;
}
.main-site-link:hover { border-color: #607792; color: #fff; }
main { max-width: 1180px; margin: 0 auto; padding: 0 24px 36px; }
.hero {
  min-height: 330px;
  display: flex;
  align-items: flex-end;
  padding: 58px 0 44px;
}
.hero-copy { max-width: 850px; }
.eyebrow {
  font-size: .74rem;
  letter-spacing: .14em;
  color: #8fa5bc;
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1 {
  margin: 12px 0 16px;
  max-width: 900px;
  font-size: clamp(2.55rem, 7vw, 5.9rem);
  line-height: .96;
  letter-spacing: -.06em;
}
.hero p {
  max-width: 740px;
  margin: 0;
  color: #bcc8d6;
  line-height: 1.65;
  font-size: 1.06rem;
}
.catalog { margin-top: 6px; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-heading h2 { margin: 6px 0 0; font-size: 1.65rem; }
.count-badge {
  border: 1px solid #344860;
  background: #101c2d;
  color: #9fb0c3;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .82rem;
}
.game-card {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  overflow: hidden;
  border: 1px solid #354962;
  border-radius: 24px;
  background: linear-gradient(145deg, #142238, #101a2a);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
}
.game-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background:
    linear-gradient(rgba(15, 27, 45, .2), rgba(8, 15, 26, .65)),
    repeating-linear-gradient(0deg, transparent, transparent 29px, rgba(106, 132, 163, .07) 30px),
    repeating-linear-gradient(90deg, transparent, transparent 29px, rgba(106, 132, 163, .07) 30px),
    #0d1828;
  border-right: 1px solid #34465d;
}
.map-outline {
  position: absolute;
  inset: 42px 38px 54px;
  border: 1px dashed rgba(145, 170, 199, .5);
  border-radius: 42% 58% 48% 52% / 55% 40% 60% 45%;
  transform: rotate(-5deg);
  background: rgba(62, 91, 127, .11);
}
.map-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #77c9a1;
  border: 3px solid #0d1828;
  box-shadow: 0 0 0 1px rgba(164, 215, 190, .7);
  z-index: 2;
}
.dot-1 { left: 24%; top: 26%; }
.dot-2 { left: 67%; top: 23%; }
.dot-3 { left: 50%; top: 47%; }
.dot-4 { left: 28%; top: 67%; }
.dot-5 { left: 57%; top: 72%; }
.map-line {
  position: absolute;
  height: 1px;
  background: rgba(153, 174, 198, .42);
  transform-origin: left center;
  z-index: 1;
}
.line-1 { width: 43%; left: 27%; top: 29%; transform: rotate(23deg); }
.line-2 { width: 32%; left: 50%; top: 49%; transform: rotate(-45deg); }
.line-3 { width: 34%; left: 31%; top: 67%; transform: rotate(10deg); }
.visual-copy {
  position: absolute;
  left: clamp(20px, 5vw, 30px);
  right: 22px;
  bottom: 24px;
  z-index: 3;
  display: grid;
  gap: 8px;
}
.visual-label {
  color: #9eb1c7;
  font-size: .69rem;
  line-height: 1.2;
  letter-spacing: .14em;
  font-weight: 800;
}
.visual-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: .92;
  font-weight: 950;
  letter-spacing: -.05em;
}
.game-content { padding: clamp(24px, 4vw, 42px); display: flex; flex-direction: column; justify-content: center; }
.game-topline { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.status, .genre {
  border-radius: 999px;
  padding: 6px 9px;
  font-size: .76rem;
  border: 1px solid #3d526c;
}
.status { color: #aee4c9; background: rgba(49, 112, 83, .19); border-color: rgba(94, 176, 136, .34); }
.genre { color: #aec0d4; background: #101b2b; }
.game-content h3 { margin: 0 0 14px; font-size: clamp(2rem, 4.5vw, 3.55rem); line-height: 1; letter-spacing: -.045em; }
.game-content > p { color: #bbc8d7; line-height: 1.67; max-width: 680px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 22px; }
.meta-row span { border: 1px solid #33475f; background: #0d1828; border-radius: 999px; padding: 7px 10px; color: #c2cedb; font-size: .84rem; }
.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.play-button {
  display: inline-flex;
  min-width: 145px;
  justify-content: center;
  text-decoration: none;
  background: #f0f5fb;
  color: #0b1523;
  padding: 12px 20px;
  border-radius: 11px;
  font-weight: 900;
  transition: transform .14s ease, box-shadow .14s ease;
}
.play-button:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(0,0,0,.22); }
.prototype-note { color: #8195ad; font-size: .84rem; }
.coming-soon {
  margin-top: 22px;
  border: 1px dashed #31445c;
  border-radius: 18px;
  padding: 19px 20px;
  color: #93a5b8;
}
.coming-soon span { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.coming-soon p { margin: 6px 0 0; line-height: 1.5; }
footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid rgba(50, 69, 91, .7);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #6f8298;
  font-size: .8rem;
}
@media (max-width: 780px) {
  .site-header { padding: 18px 14px 8px; }
  .main-site-link { display: none; }
  main { padding: 0 14px 26px; }
  .hero { min-height: 280px; padding: 40px 0 34px; }
  .game-card { grid-template-columns: 1fr; }
  .game-visual { min-height: 280px; border-right: 0; border-bottom: 1px solid #34465d; }
  .game-content { padding: 23px 19px 25px; }
  .card-actions { align-items: stretch; flex-direction: column; }
  .play-button { width: 100%; }
  footer { padding: 20px 14px; flex-direction: column; }
}

/* v0.2.2 — bezpieczne odstępy tytułu kafelka */
@media (max-width: 780px) {
  .game-visual { min-height: 300px; }
  .visual-copy { left: 20px; right: 18px; bottom: 22px; gap: 7px; }
  .visual-title { font-size: clamp(2rem, 10vw, 2.55rem); line-height: .94; }
  .visual-label { font-size: .66rem; }
}
