/* =========================================================================
   Poluj na gry — polowanie na tanie gry PS4 i PS5
   ========================================================================= */
:root {
  /* marka (stala w obu trybach) */
  --ink: #0e1116; --ink-2: #171c24; --ink-3: #232a35; --ink-text: #f2f5f0; --ink-muted: #9aa3b2;
  --lime: #c6f432; --lime-2: #b3e01f; --lime-ink: #0e1116;
  --hot: #ff4d2e; --hot-ink: #fff;
  /* tresc */
  --bg: #f3f4ef; --surface: #fff; --surface-2: #eef0ea; --text: #12161c; --muted: #5d6573; --line: #e1e4dc;
  --price: #2f6f00;            /* cena na jasnym tle (limonka bylaby nieczytelna) */
  --best-bg: #f2fbd9; --best-line: #b9e35a;
  --new: #1d6fd1; --used: #6b7280;
  --ps4: #2f5bd3; --ps5: #6b4fd8;
  --src-vinted: #0b8a7f; --src-olx: #6d28d9; --src-allegrolokalnie: #e0561a;
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(14, 17, 22, .06), 0 4px 16px rgba(14, 17, 22, .05);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0e12; --surface: #141920; --surface-2: #1b2129; --text: #eceff4; --muted: #98a1b0; --line: #262d38;
    --price: var(--lime);
    --best-bg: #1c2410; --best-line: #4d6b12;
    --new: #60a5fa; --used: #9ca3af;
    --ps4: #7d9cff; --ps5: #ad97ff;
    --src-vinted: #2dd4bf; --src-olx: #b794f6; --src-allegrolokalnie: #fb8a4c;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--font); }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; margin: 0 0 8px; }
h2 { font-size: 22px; font-weight: 800; margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.empty { padding: 32px 16px; text-align: center; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

/* ---------------------------------------------------------------- naglowek */
.site-header { background: var(--ink); color: var(--ink-text); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--ink-3); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo-word { font: 900 21px/1 var(--font-display); letter-spacing: -.03em; text-transform: uppercase; }
.logo-word b { color: var(--lime); font-weight: 900; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { font-weight: 700; padding: 8px 12px; border-radius: 999px; color: var(--ink-text); white-space: nowrap; }
.main-nav a:hover { background: var(--ink-3); text-decoration: none; }
.main-nav a.is-hot { color: var(--lime); }

.search { position: relative; flex: 1; max-width: 560px; display: flex; }
.search input { width: 100%; font: inherit; color: var(--ink-text); background: var(--ink-2); border: 1px solid var(--ink-3);
  border-radius: 999px; padding: 10px 46px 10px 18px; outline: none; transition: border-color .15s, background .15s; }
.search input::placeholder { color: var(--ink-muted); }
.search input:focus { border-color: var(--lime); background: #10151b; }
.search > button { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--ink-muted);
  padding: 8px 11px; cursor: pointer; border-radius: 999px; }
.search > button:hover { color: var(--lime); }

/* podpowiedzi wyszukiwarki */
.ac { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); color: var(--text); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 18px 48px rgba(0, 0, 0, .28); overflow: hidden; z-index: 30; text-align: left; }
.ac a { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; }
.ac a:hover, .ac a.is-active { background: var(--surface-2); text-decoration: none; }
.ac .cover { width: 38px; height: 51px; border-radius: 6px; font-size: 12px; }
.ac-title { font-weight: 700; }
.ac-price { font-weight: 800; white-space: nowrap; color: var(--price); }
.ac-all { display: block !important; text-align: center; font-weight: 700; border-top: 1px solid var(--line); }
.ac-empty { padding: 14px; color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------- wspolne */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 800 14px/1 var(--font); letter-spacing: .01em;
  background: var(--lime); color: var(--lime-ink); border: 0; border-radius: 12px; padding: 12px 18px; cursor: pointer; white-space: nowrap;
  transition: background .15s, transform .1s; }
.btn:hover { background: var(--lime-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: var(--ink-text); }
.btn-dark:hover { background: var(--ink-3); }
.plat { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .03em; padding: 2px 8px; border-radius: 999px;
  border: 1.5px solid currentColor; vertical-align: 2px; white-space: nowrap; }
.plat-ps4 { color: var(--ps4); } .plat-ps5 { color: var(--ps5); }
a.plat:hover { text-decoration: none; background: var(--surface-2); }
.src { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 6px; color: #fff; white-space: nowrap; }
@media (prefers-color-scheme: dark) { .src { color: #0b0e12; } }
.src-vinted { background: var(--src-vinted); } .src-olx { background: var(--src-olx); } .src-allegrolokalnie { background: var(--src-allegrolokalnie); }
.off { display: inline-flex; align-items: center; font-size: 12px; font-weight: 900; color: var(--hot-ink); background: var(--hot); padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.cover { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface-2); }
.cover-ph { display: flex; align-items: center; justify-content: center; color: #fff; font: 900 28px/1 var(--font-display); letter-spacing: .02em;
  background: radial-gradient(circle at 30% 20%, hsl(var(--h) 60% 45%), hsl(calc(var(--h) + 50) 55% 20%)); }
.crumbs { color: var(--muted); margin: 0 0 14px; font-size: 13px; }
.crumbs a:hover { color: var(--text); }

/* ---------------------------------------------------------------- strona glowna: hero */
.hero { position: relative; background: var(--ink); color: var(--ink-text); overflow: hidden; isolation: isolate; }
.hero-wall { position: absolute; inset: -40px -10% -40px -10%; display: grid; grid-template-columns: repeat(9, 1fr); gap: 14px;
  transform: rotate(-8deg) scale(1.1); opacity: .32; z-index: -2; pointer-events: none; }
.hero-wall img, .hero-wall .cover-ph { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.hero-wall .col:nth-child(even) { transform: translateY(-60px); }
.hero-wall .col { display: flex; flex-direction: column; gap: 14px; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 45%, rgba(14, 17, 22, .72) 0%, rgba(14, 17, 22, .92) 55%, var(--ink) 100%); }
.hero-inner { padding: 72px 16px 56px; text-align: center; max-width: 820px; margin: 0 auto; }
.hero h1 { font-size: clamp(34px, 6vw, 64px); line-height: 1.02; margin: 14px 0 14px; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--lime); }
.lead { color: #c7cdd6; font-size: 17px; max-width: 620px; margin: 0 auto 28px; }
.search-hero { max-width: 660px; margin: 0 auto; }
.search-hero input { padding: 18px 140px 18px 24px; font-size: 18px; background: rgba(255, 255, 255, .97); color: #12161c; border: 2px solid transparent;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.search-hero input::placeholder { color: #6b7280; }
.search-hero input:focus { border-color: var(--lime); background: #fff; }
.search-hero > .btn { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); border-radius: 999px; padding: 13px 22px; font-size: 15px; }
.hero-stats { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-top: 30px; color: var(--ink-muted); font-size: 14px; }
.hero-stats b { display: block; font: 900 26px/1.1 var(--font-display); color: var(--ink-text); letter-spacing: -.02em; }
.hero-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.hero-tags a { font-size: 13px; color: #c7cdd6; border: 1px solid var(--ink-3); border-radius: 999px; padding: 5px 12px; background: rgba(23, 28, 36, .7); }
.hero-tags a:hover { border-color: var(--lime); color: var(--lime); text-decoration: none; }

/* ---------------------------------------------------------------- sekcje */
.block { margin: 44px 0; }
.block-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.block-head .more { font-weight: 700; white-space: nowrap; }
.block-sub { color: var(--muted); margin: 4px 0 16px; font-size: 14px; }

/* lupy (okazje) */
.deals { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.deal { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.deal:hover { transform: translateY(-2px); border-color: var(--best-line); }
.deal-cover .cover { width: 92px; font-size: 22px; }
.deal-cover { position: relative; align-self: start; }
.deal-cover .off { position: absolute; left: -6px; top: 8px; font-size: 13px; padding: 3px 8px; box-shadow: 0 4px 12px rgba(255, 77, 46, .35); }
.deal-body { display: flex; flex-direction: column; min-width: 0; }
.deal-game { font-weight: 800; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.deal-game .plat { margin-left: 4px; }
.deal-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 6px 0 2px; }
.deal-price b { font: 900 26px/1 var(--font-display); letter-spacing: -.03em; color: var(--price); }
.deal-price s { color: var(--muted); font-size: 13px; }
.deal-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.deal-body > .btn { margin-top: 10px; align-self: flex-start; padding: 9px 14px; font-size: 13px; }

/* kafelki gier */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.gcard { position: relative; display: flex; flex-direction: column; color: var(--text); }
.gcard:hover { text-decoration: none; }
.gcard .cover { box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.gcard:hover .cover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(14, 17, 22, .18); }
.gcard-price { position: absolute; left: 8px; top: 8px; background: var(--ink); color: var(--lime); font: 900 14px/1 var(--font-display);
  padding: 6px 9px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.gcard-price small { color: var(--ink-muted); font-weight: 700; font-size: 10px; margin-right: 3px; text-transform: uppercase; }
.gcard-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 2px 0; }
.gcard-title { font-weight: 800; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gcard-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }

/* jak to dziala */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.how > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.how b { display: flex; align-items: center; gap: 10px; font: 800 16px/1.2 var(--font-display); margin-bottom: 6px; }
.how b span { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 8px;
  background: var(--ink); color: var(--lime); font-size: 14px; }
.how p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------- strona gry */
.game-hero { position: relative; background: var(--ink); color: var(--ink-text); overflow: hidden; isolation: isolate; }
.game-hero-bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(28px) saturate(1.2); opacity: .45; z-index: -2; }
.game-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 17, 22, .96) 0%, rgba(14, 17, 22, .78) 60%, rgba(14, 17, 22, .9) 100%); }
.game-hero-inner { display: grid; grid-template-columns: 170px 1fr auto; gap: 28px; align-items: center; padding: 26px 16px 30px; }
.game-hero .crumbs { color: var(--ink-muted); margin-bottom: 10px; }
.game-hero .crumbs a:hover { color: var(--lime); }
.game-cover { width: 170px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); font-size: 44px; }
.platforms { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 14px; }
.game-hero .plat-ps4 { color: #9db4ff; } .game-hero .plat-ps5 { color: #c2b2ff; }
.plat.is-current { color: var(--ink) !important; border-color: transparent; }
.plat-ps4.is-current { background: #9db4ff; } .plat-ps5.is-current { background: #c2b2ff; }
.game-hero a.plat:hover { background: var(--ink-3); }
.stats { display: flex; gap: 10px; flex-wrap: wrap; }
.stat { background: rgba(23, 28, 36, .8); border: 1px solid var(--ink-3); border-radius: 12px; padding: 9px 14px; min-width: 120px; }
.stat span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.stat b { font: 900 20px/1.2 var(--font-display); letter-spacing: -.02em; }
.stat.is-best b { color: var(--lime); }
.hunt { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 250px; }
.hunt .btn { font-size: 17px; padding: 16px 22px; border-radius: 14px; box-shadow: 0 10px 30px rgba(198, 244, 50, .18); }
.hunt-note { font-size: 12px; color: var(--ink-muted); text-align: center; }

.game { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; margin: 26px auto 48px; }
.offers-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.offers-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font: 700 13px/1 var(--font); color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 13px; cursor: pointer; }
.chip span { color: var(--muted); font-weight: 600; margin-left: 2px; }
.chip:hover { border-color: var(--muted); }
.chip.is-on { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.chip.is-on span { color: var(--ink-muted); }

.offers { list-style: none; margin: 0; padding: 0; }
.offer { position: relative; border-top: 1px solid var(--line); }
.offer:first-child { border-top: 0; }
.offer-link { display: grid; grid-template-columns: 118px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 10px; border-radius: 12px;
  transition: background .12s; }
.offer-link:hover { background: var(--surface-2); text-decoration: none; }
.offer-price { display: flex; flex-direction: column; }
.offer-price b { font: 900 23px/1.05 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.offer-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.offer-title { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.offer-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; }
.state { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.state-new { color: var(--new); } .state-used { color: var(--used); }
.offer .btn { padding: 11px 15px; }
.offer-link:hover .btn { background: var(--lime-2); }
.offer.is-best .offer-link { background: var(--best-bg); box-shadow: inset 0 0 0 1.5px var(--best-line); padding-top: 26px; }
.offer.is-best .offer-price b { color: var(--price); font-size: 28px; }
.ribbon { position: absolute; top: 8px; left: 10px; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--price); }
.ribbon::before { content: "◎ "; }
.offer[hidden] { display: none; }
.older { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 12px; }
.older summary { cursor: pointer; color: var(--muted); font-weight: 700; }
.offers-old { opacity: .7; }

.game-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 16px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.side-card h3 { margin: 0 0 10px; font-size: 15px; }
.trailer { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; cursor: pointer;
  background: #000 center / cover no-repeat; overflow: hidden; padding: 0; }
.trailer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0, 0, 0, .7)); }
.play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); background: var(--lime); border-radius: 50%;
  z-index: 1; transition: transform .15s; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.play::before { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--ink); }
.trailer:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.trailer-label { position: absolute; left: 12px; bottom: 10px; color: #fff; font-weight: 800; font-size: 13px; z-index: 1; letter-spacing: .02em; }
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding: 9px 0; }
.facts div:first-child { border-top: 0; padding-top: 0; }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.chart-block { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.chart-block h2 { font-size: 18px; margin-bottom: 12px; }
.chart-wrap { position: relative; height: 240px; }

/* ---------------------------------------------------------------- tekst, stopka */
.page-head { padding: 34px 0 8px; }
.prose { max-width: 720px; }
.prose h2 { margin: 28px 0 8px; font-size: 20px; }
.prose li { margin: 6px 0; }
.prose a { text-decoration: underline; }
.h-count { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }

.site-footer { background: var(--ink); color: var(--ink-muted); padding: 36px 0 40px; font-size: 13px; margin-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.site-footer .logo { margin-bottom: 10px; color: var(--ink-text); }
.site-footer p { margin: 0 0 8px; max-width: 560px; }
.site-footer a { color: var(--ink-text); }
.site-footer a:hover { color: var(--lime); }
.footer-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

/* ---------------------------------------------------------------- telefon / tablet */
@media (max-width: 960px) {
  .report-cols { grid-template-columns: 1fr; }
  .chart-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game { grid-template-columns: minmax(0, 1fr); }
  .game-side { position: static; }
  .game-hero-inner { grid-template-columns: 110px 1fr; gap: 18px; }
  .game-cover { width: 110px; font-size: 28px; }
  .hunt { grid-column: 1 / -1; min-width: 0; }
  .hero-wall { grid-template-columns: repeat(6, 1fr); }
  .how { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 10px 12px; }
  .header-inner .search { order: 3; flex-basis: 100%; max-width: none; }
  .main-nav { margin-left: auto; }
  .logo-word { font-size: 19px; }
  .hero-inner { padding: 44px 16px 36px; }
  .hero-wall { grid-template-columns: repeat(4, 1fr); }
  .lead { font-size: 15px; }
  .search-hero input { padding: 16px 112px 16px 18px; font-size: 16px; }
  .search-hero > .btn { padding: 11px 16px; }
  .hero-stats { gap: 20px; }
  .hero-stats b { font-size: 22px; }
  .game-hero-inner { grid-template-columns: 84px 1fr; padding: 18px 16px 20px; }
  .game-cover { width: 84px; font-size: 22px; }
  .game-hero h1 { font-size: 24px; }
  .stat { min-width: 0; flex: 1 1 calc(50% - 10px); padding: 7px 10px; }
  .stat b { font-size: 17px; }
  .offer-link { grid-template-columns: 1fr auto; grid-template-areas: "price btn" "info info"; gap: 8px 12px; padding: 12px 6px; }
  .offer-price { grid-area: price; flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
  .offer-info { grid-area: info; }
  .offer-link .btn { grid-area: btn; padding: 10px 12px; }
  .offer-title { white-space: normal; }
  .offers-block { padding: 12px; }
  .deals { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* strony tekstowe i listy */
.page { padding-top: 34px; }
.page .block { margin-top: 0; }
.eyebrow-dark { color: var(--price); }

/* poprawki po przegladzie */
.search-hero > .btn { background: var(--lime); color: var(--lime-ink); font-weight: 900; }
.search-hero > .btn:hover { background: var(--lime-2); color: var(--lime-ink); }
@media (max-width: 640px) {
  .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .stat { padding: 7px 8px; }
  .stat span { font-size: 9px; letter-spacing: .04em; }
  .stat b { font-size: 16px; }
  .hero-tags a:nth-child(n+5) { display: none; }
}

/* karta okazji: Upoluj + Wszystkie oferty */
.deal-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.deal-actions .btn { padding: 9px 14px; font-size: 13px; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--muted); }
.btn-ghost span { display: inline-flex; min-width: 20px; padding: 1px 6px; justify-content: center; border-radius: 999px;
  background: var(--ink); color: var(--lime); font-size: 11px; }
.deal > .deal-actions { grid-column: 2; margin-top: -2px; }
@media (max-width: 640px) {
  .deal > .deal-actions { grid-column: 1 / -1; margin-top: 0; }
  .deal-actions .btn { flex: 1 1 0; }
}
.deal { grid-template-rows: auto 1fr; }
.deal > .deal-cover { grid-row: 1 / span 2; }
.deal > .deal-actions { align-self: end; }
@media (max-width: 640px) { .deal > .deal-cover { grid-row: 1; } }

/* hero: przycina tylko tlo (mozaike), a nie podpowiedzi wyszukiwarki; hero nad kolejnymi sekcjami */
.hero { overflow: visible; z-index: 5; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: -2; pointer-events: none; }
.hero-bg .hero-wall { z-index: auto; }
.hero::after { z-index: -1; }
.hero .ac { z-index: 40; max-height: min(70vh, 560px); overflow-y: auto; }

/* filtr konsol na stronie wynikow */
.filters-platform { margin: 6px 0 22px; }
.filters-platform .chip { text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.filters-platform .chip-ps4:not(.is-on) { color: var(--ps4); border-color: color-mix(in srgb, var(--ps4) 45%, var(--line)); }
.filters-platform .chip-ps5:not(.is-on) { color: var(--ps5); border-color: color-mix(in srgb, var(--ps5) 45%, var(--line)); }
@media (prefers-color-scheme: dark) {
  .chip.is-on { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
  .chip.is-on span { color: rgba(14, 17, 22, .65); }
}

/* zwiastun po kliknieciu: zwykly kontener, pelne sterowanie odtwarzaczem */
.trailer-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.trailer-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer::after { pointer-events: none; }
.chart-wrap { height: 280px; }

/* wyniki wyszukiwania: inne oferty (pojedyncze ogloszenia) */
.others { margin-top: 8px; }
.other-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.other-list li { position: relative; border-top: 1px solid var(--line); }
.other-list li:first-child { border-top: 0; }
.other-link { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 11px 14px; }
.other-link:hover { background: var(--surface-2); text-decoration: none; }
.other-price { font: 900 19px/1 var(--font-display); letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.other-info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.other-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag-kind { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--hot); }
.btn-sm { padding: 8px 12px; font-size: 13px; }
.other-link:hover .btn-sm { background: var(--lime-2); }
.other-game { position: absolute; right: 120px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 700; color: var(--muted); }
.other-game:hover { color: var(--text); }
@media (max-width: 640px) {
  .other-link { grid-template-columns: 1fr auto; grid-template-areas: "price btn" "info info"; gap: 6px 10px; padding: 11px 12px; }
  .other-price { grid-area: price; } .other-info { grid-area: info; } .other-link .btn-sm { grid-area: btn; }
  .other-title { white-space: normal; }
  .other-game { position: static; transform: none; display: inline-block; padding: 0 12px 10px; }
}

/* super okazje: ciemny pas pod hero, karty z ognista ramka */
.super { background: linear-gradient(180deg, var(--ink) 0%, #161015 100%); color: var(--ink-text); padding: 34px 0 40px; border-top: 1px solid var(--ink-3); }
.super .block-sub { color: var(--ink-muted); }
.super .more { color: var(--lime); }
.siren { display: inline-block; animation: siren 1.6s ease-in-out infinite; }
@keyframes siren { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-12deg); } 20% { transform: rotate(12deg); } 30% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .siren { animation: none; } }
.deals-super .deal { background: var(--ink-2); color: var(--ink-text); border: 1.5px solid rgba(255, 77, 46, .55);
  box-shadow: 0 0 0 1px rgba(255, 77, 46, .15), 0 10px 30px rgba(255, 77, 46, .12); }
.deals-super .deal:hover { border-color: var(--hot); }
.deals-super .deal-price b { color: var(--lime); font-size: 30px; }
.deals-super .deal-price s, .deals-super .deal-meta { color: var(--ink-muted); }
.deals-super .deal-cover .off { font-size: 15px; padding: 4px 9px; }
.deals-super .btn-ghost { color: var(--ink-text); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.deals-super .btn-ghost:hover { background: var(--ink-3); }
.deals-super .plat-ps4 { color: #9db4ff; } .deals-super .plat-ps5 { color: #c2b2ff; }
@media (max-width: 640px) { .deals-super .deal:nth-child(n+4) { display: none; } .super { padding: 26px 0 30px; } }

/* oferta z linku w powiadomieniu (#oferta-ID): przewinieta i podswietlona */
.offer { scroll-margin-top: 90px; }
.offer:target .offer-link { box-shadow: inset 0 0 0 2px var(--hot); background: var(--hot-soft, rgba(255, 77, 46, .08)); animation: pulse-target 1.6s ease-out 2; }
.offer:target::before { content: "Z powiadomienia"; position: absolute; top: 8px; right: 12px; font-size: 10px; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase; color: var(--hot); }
@keyframes pulse-target { 0% { box-shadow: inset 0 0 0 2px var(--hot), 0 0 0 0 rgba(255, 77, 46, .45); } 100% { box-shadow: inset 0 0 0 2px var(--hot), 0 0 0 12px rgba(255, 77, 46, 0); } }
:root { --hot-soft: #fff1ec; }
@media (prefers-color-scheme: dark) { :root { --hot-soft: #2a1510; } }

/* =================== katalog, strony tematyczne, nowe oferty =================== */
.main-nav a.is-on { background: var(--ink-3); }
.cat-head { background: var(--ink); color: var(--ink-text); padding: 26px 0 28px; }
.cat-head .crumbs { color: var(--ink-muted); }
.cat-head .crumbs a:hover { color: var(--lime); }
.cat-head h1 { margin: 10px 0 6px; }
.cat-head .h-count { color: var(--ink-muted); font-size: 17px; }
.cat-intro { color: #c7cdd6; margin: 0; max-width: 720px; }
.page-cat { padding-top: 20px; padding-bottom: 20px; }
.cat-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 14px; margin-bottom: 20px; box-shadow: var(--shadow); }
.cat-filters label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.cat-filters select, .cat-filters input { font: 500 14px/1.2 var(--font); color: var(--text); background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 10px; min-width: 130px; }
.cat-filters input[type=number] { width: 110px; min-width: 0; }
.cat-filters .btn { padding: 10px 16px; }
.cat-reset { font-size: 13px; font-weight: 700; color: var(--muted); align-self: center; text-decoration: underline; }
.pager { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: center; margin: 28px 0 8px; }
.pager .chip { text-decoration: none; }
.browse h2 { margin-bottom: 14px; }
.browse-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0; }
.browse-label { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); min-width: 92px; }
.tag-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.tag-link small { color: var(--muted); font-weight: 600; }
.tag-link:hover { border-color: var(--price); text-decoration: none; }
.browse-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 6px 0 16px; }
.tile { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: var(--radius); background: var(--ink); color: var(--ink-text);
  border: 1px solid var(--ink-3); transition: transform .15s, border-color .15s; }
.tile:hover { transform: translateY(-2px); border-color: var(--lime); text-decoration: none; }
.tile b { font: 900 22px/1.1 var(--font-display); color: var(--lime); letter-spacing: -.02em; }
.tile span { font-size: 13px; color: var(--ink-muted); }
.tile-ps5 b { color: #c2b2ff; } .tile-ps4 b { color: #9db4ff; }
.tile-live b::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--hot); margin-right: 7px;
  vertical-align: 3px; animation: live 1.4s ease-in-out infinite; }
@keyframes live { 50% { opacity: .25; } }

/* strona gry: o grze, wiecej z serii */
/* O grze: pelna szerokosc pod ofertami */
.about-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  margin-top: 8px; margin-bottom: 32px; }
.about-block h2 { font-size: 20px; margin: 0 0 14px; }
.about-facts { display: flex; flex-wrap: wrap; gap: 10px; }
.fact { display: flex; flex-direction: column; gap: 3px; background: var(--surface-2); border-radius: 12px; padding: 10px 14px; min-width: 120px; }
.fact > span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.fact > b { font-weight: 800; font-variant-numeric: tabular-nums; }
.fact > b a { color: var(--price); }
.fact > small { font-size: 12px; color: var(--muted); }
.about-genres { display: flex; flex-wrap: wrap; gap: 6px; }
.about-genres .tag-link { font-size: 12px; padding: 3px 9px; }
.score { display: inline-block; background: var(--ink); color: var(--lime); border-radius: 6px; padding: 1px 7px; font-weight: 900; }
.about-summary { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 820px; }
.about-summary summary { cursor: pointer; font-weight: 700; color: var(--text); }
.about-summary p { margin: 8px 0 0; line-height: 1.6; }
.about-text { margin-top: 18px; font-size: 16px; line-height: 1.7; max-width: 820px; }
.about-text p { margin: 0; }
.about-src { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.about-src a { text-decoration: underline; }

/* wykres: zakres, filtry, podsumowanie */
.chart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.chart-head h2 { margin: 0; }
.chart-filters { display: flex; gap: 10px 18px; flex-wrap: wrap; margin-bottom: 14px; }
.chart-filters .chip, .chart-ranges .chip { padding: 7px 11px; font-size: 12px; }
.chart-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.chart-summary .fact { min-width: 0; }
.chart-summary .fact > b { font: 900 19px/1.1 var(--font-display); letter-spacing: -.02em; }
.chart-block .chart-wrap { height: 320px; }
.chart-block.is-loading .chart-wrap, .chart-block.is-loading .chart-summary { opacity: .45; transition: opacity .15s; }
.chart-note { margin: 10px 0 0; }

.pct { font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pct-down { color: var(--price); }
.pct-up { color: var(--hot, #e5484d); }
.pct-flat { color: var(--muted); }

/* zmiana ceny co 30 dni */
.periods-block { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.periods-block h2 { font-size: 18px; margin: 0; }
.periods-block .block-head { margin-bottom: 12px; align-items: center; }
.table-scroll { overflow-x: auto; }
.periods { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.periods th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.periods td { padding: 11px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.periods tr:last-child td { border-bottom: 0; }
.periods tr.is-open td { background: var(--surface-2); }
.tag-open { font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 7px; margin-left: 4px; }
.periods-block .small { margin: 12px 0 0; }

/* strona zestawienia */
.report-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.report-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.report-list li { border-top: 1px solid var(--line); }
.report-list li:first-child { border-top: 0; }
.report-row { display: grid; grid-template-columns: 26px 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; }
.report-row:hover { background: var(--surface-2); text-decoration: none; }
.report-row .rank { color: var(--muted); font-weight: 800; text-align: right; }
.report-row .cover { width: 44px; border-radius: 6px; }
.report-row .r-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.report-row .r-title { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-row .r-prices { font-size: 13px; color: var(--muted); }
.report-row .pct { font-size: 17px; }
.report-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.report-periods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.report-cols h2 { font-size: 19px; margin: 0 0 10px; }
.more-series { margin-top: 0; }

/* nowe oferty */
.feed { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.feed-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); }
.feed-item:first-child { border-top: 0; }
.feed-item.is-fresh { background: var(--best-bg); }
.feed-item.is-fresh .feed-game::after { content: "NOWE"; margin-left: 8px; font-size: 10px; font-weight: 900; letter-spacing: .08em; color: var(--lime-ink);
  background: var(--lime); padding: 2px 6px; border-radius: 5px; vertical-align: 2px; }
.feed-cover .cover { width: 56px; font-size: 14px; border-radius: 8px; }
.feed-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.feed-game { font-weight: 800; }
.feed-title { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.feed-price { font: 900 20px/1 var(--font-display); letter-spacing: -.02em; }
.new-badge { font-size: 11px; font-weight: 900; color: var(--lime-ink); background: var(--lime); padding: 1px 6px; border-radius: 5px; }
.live-status { margin-left: auto; align-self: center; }

@media (max-width: 960px) { .browse-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .main-nav a { padding: 7px 8px; font-size: 14px; }
  .cat-filters { padding: 10px; gap: 8px; }
  .cat-filters label { flex: 1 1 calc(50% - 8px); }
  .cat-filters select, .cat-filters input, .cat-filters input[type=number] { width: 100%; min-width: 0; }
  .cat-filters .btn { flex: 1 1 100%; }
  .browse-tiles { grid-template-columns: repeat(2, 1fr); }
  .browse-label { min-width: 100%; }
  .feed-item { grid-template-columns: 48px minmax(0, 1fr); }
  .feed-cover .cover { width: 48px; }
  .feed-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .feed-title { white-space: normal; }
}
.h-sub { font-size: 18px; margin: 32px 0 0; }
.cat-filters label.cat-check { flex-direction: row; align-items: center; gap: 8px; color: var(--text); font-size: 13px; padding-bottom: 10px; }
.cat-filters .cat-check input { flex: none; width: 18px; min-width: 0; height: 18px; padding: 0; margin: 0; border: 0; background: none; accent-color: var(--price); }

/* najwazniejsze informacje o grze: polska wersja, czas przejscia, kanapa, PEGI */
.key-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 12px; }
.key-fact { display: flex; flex-direction: column; gap: 4px; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.key-fact > span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.key-fact > b { font: 900 18px/1.2 var(--font-display); letter-spacing: -.01em; }
.key-fact > small { font-size: 12px; color: var(--muted); }
.key-fact.lang-dubbing, .key-fact.lang-napisy { border-color: var(--best-line); background: var(--best-bg); }
.key-fact.lang-brak > b { color: var(--muted); }
.pegi { display: inline-block; font: 900 14px/1 var(--font); color: #fff; border-radius: 6px; padding: 5px 8px; }
.pegi-3, .pegi-7 { background: #4caf50; } .pegi-12, .pegi-16 { background: #f39200; } .pegi-18 { background: #e2001a; }
.lang-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; color: var(--ink-text, #fff);
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 4px 10px; }
.about-h3 { font-size: 16px; margin: 22px 0 0; }
.about-story { margin-top: 8px; }
.fact > small { font-size: 12px; color: var(--muted); }
.pl-flag { display: inline-block; width: 18px; height: 12px; border-radius: 2px; background: linear-gradient(#fff 50%, #dc143c 50%); box-shadow: 0 0 0 1px rgba(0,0,0,.15); vertical-align: -1px; }
.btn-notify { display: flex; flex-direction: column; align-items: center; gap: 1px; text-align: center; font-weight: 800; font-size: 14px;
  color: var(--ink-text, #fff); border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 14px; padding: 10px 16px; }
.btn-notify small { font-size: 11px; font-weight: 600; color: var(--ink-muted); }
.btn-notify:hover { border-color: var(--lime); text-decoration: none; }
.tg-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }

/* strona glowna: duzy przycisk kanalu Telegram */
.tg-hero { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 26px; }
.tg-btn { display: inline-flex; align-items: center; gap: 14px; text-align: left; color: #fff; background: #229ed9;
  border-radius: 18px; padding: 16px 26px 16px 20px; box-shadow: 0 12px 34px rgba(34, 158, 217, .35); transition: transform .15s, background .15s; }
.tg-btn:hover { background: #1c8cc2; transform: translateY(-2px); text-decoration: none; }
.tg-btn svg { flex: none; background: rgba(255, 255, 255, .18); border-radius: 50%; padding: 7px; width: 44px; height: 44px; }
.tg-btn b { display: block; font: 900 20px/1.15 var(--font-display); letter-spacing: -.01em; }
.tg-btn small { display: block; font-size: 13px; opacity: .9; margin-top: 2px; }
.tg-sub { font-size: 13px; color: var(--ink-muted); }
.tg-sub:hover { color: var(--lime); text-decoration: none; }
@media (max-width: 520px) { .tg-btn { padding: 14px 18px 14px 14px; } .tg-btn b { font-size: 17px; } }
.tg-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.dc-btn { background: #5865f2; box-shadow: 0 12px 34px rgba(88, 101, 242, .35); }
.dc-btn:hover { background: #4752c4; }
@media (max-width: 520px) { .tg-row { flex-direction: column; align-items: stretch; } }
