/* ==========================================================
   KryptoBonus — strona-wizytówka w klimacie Web3
   Hero na cały ekran + hub z kartami zamiast stałego menu.
   Podmień nazwę marki, linki referencyjne i treści oznaczone
   komentarzem "TODO" w plikach HTML.
   ========================================================== */

:root {
  --bg: #0a0705;
  --bg-alt: #0f0a07;
  --surface: rgba(255,238,220,0.06);
  --surface-strong: rgba(255,238,220,0.09);
  --border: rgba(255,225,190,0.13);
  --border-strong: rgba(255,225,190,0.26);

  --orange: #ff7a18;
  --orange-bright: #ffa04d;
  --orange-rgb: 255,122,24;
  --amber: #ffb020;
  --amber-bright: #ffc65c;
  --amber-rgb: 255,176,32;
  --gold: #ffd84d;
  --gold-bright: #ffe585;
  --gold-rgb: 255,216,77;
  --coral: #ff5a5f;
  --coral-bright: #ff8087;
  --coral-rgb: 255,90,95;

  --text: #fff6ec;
  --text-muted: #cdb9a8;
  --text-faint: #94806f;

  --green: #34d399;
  --red: #fb7185;

  --grad-brand: linear-gradient(135deg, var(--orange), var(--amber));
  --grad-brand-2: linear-gradient(120deg, var(--orange), var(--amber), var(--gold));

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 48px -30px rgba(0,0,0,0.85);
  --shadow-card-hover: 0 1px 0 rgba(255,255,255,0.06) inset, 0 30px 60px -24px rgba(0,0,0,0.9), 0 0 0 1px var(--border-strong);
  --shadow-pop: 0 24px 60px -20px rgba(0,0,0,0.7);

  --max-w: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* Ukryty pasek scrolla — przewijanie działa normalnie, po prostu nic nie widać. */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { display: none; width: 0; height: 0; }
body::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* ==================== PRZEJŚCIA MIĘDZY SEKCJAMI ====================
   Mysz / touchpad: skok między sekcjami i przenikanie obsługuje main.js
   (własny, wygładzony ruch — natywny scroll-snap przeglądarki "szarpał").
   Dotyk: zostaje natywny scroll z delikatnym przyciąganiem do sekcji. */
@media (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; scroll-snap-type: y proximity; }
  main > section { scroll-snap-align: start; }
}

/* Strona główna jako "slajdy": każda sekcja wypełnia ekran, treść wyśrodkowana */
.home main > section {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home main > section:not(.hero) { padding: 84px 0 44px !important; }
/* pierwszy ekran: więcej "powietrza" nad nagłówkiem */
.home main > #oferty { padding: 132px 0 28px !important; }
/* pierwszy ekran (oferty) ma się mieścić na typowym ekranie bez dodatkowego przewijania */
.home #oferty .section-head { max-width: 940px; margin-bottom: 40px; }
.home #oferty .filter-tabs { margin-bottom: 38px; }

/* Główny nagłówek strony */
/* Dwa poziomy: duży, "świecący" człon główny + lżejszy dopisek pod spodem */
.headline {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  margin: 0;
  text-wrap: balance;
}
.headline .hl-main {
  display: block;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -1.6px;
}
.headline .hl-sub {
  display: block;
  margin-top: 14px;
  font-size: clamp(16px, 1.9vw, 24px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--text-muted);
}
.headline .accent {
  position: relative;
  display: inline-block;
  background: linear-gradient(100deg, var(--orange-bright), var(--amber-bright), var(--gold-bright), var(--coral-bright), var(--orange-bright));
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(255,122,24,0.5));
  animation: headline-shimmer 7s linear infinite;
}
/* świecąca kreska pod słowami kluczowymi */
.headline .accent::after {
  content: '';
  position: absolute;
  left: 4%; right: 4%; bottom: -9px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--amber), var(--gold), transparent);
  box-shadow: 0 0 18px rgba(255,176,32,0.7);
}
@keyframes headline-shimmer {
  from { background-position: 0% 0; }
  to { background-position: -250% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .headline .accent { animation: none; }
}
.home main > section > .container { width: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15.5px;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* ziarno na samej górze, spaja wizualnie całą stronę */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
main { position: relative; z-index: 1; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ==================== TŁO: jedna, stała "aurora" pod całą stroną ====================
   Position: fixed, więc nie przewija się razem z treścią — daje wrażenie
   jednolitego, ciągłego tła niezależnie od tego, która sekcja jest widoczna. */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  /* ciepła poświata: "wschód słońca" u góry i żar od dołu */
  background:
    radial-gradient(1200px 640px at 50% -10%, rgba(255,140,40,0.30), transparent 68%),
    radial-gradient(1000px 520px at 50% 115%, rgba(255,80,60,0.21), transparent 70%);
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.68;
  will-change: transform;
  animation: bg-drift 26s ease-in-out infinite alternate;
}
.bg-blob--a {
  width: min(60vw, 820px); height: min(60vw, 820px);
  top: -18%; left: -14%;
  background: radial-gradient(circle, rgba(255,122,24,0.55) 0%, rgba(255,122,24,0) 70%);
  animation-duration: 28s;
}
.bg-blob--b {
  width: min(56vw, 760px); height: min(56vw, 760px);
  bottom: -22%; right: -12%;
  background: radial-gradient(circle, rgba(255,176,32,0.5) 0%, rgba(255,176,32,0) 70%);
  animation-duration: 34s;
  animation-direction: alternate-reverse;
}
.bg-blob--c {
  width: min(40vw, 560px); height: min(40vw, 560px);
  top: 38%; left: 58%;
  background: radial-gradient(circle, rgba(255,90,95,0.42) 0%, rgba(255,90,95,0) 70%);
  animation-duration: 22s;
}
@keyframes bg-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(5%, 7%) scale(1.1); }
}

.bg-grid {
  position: absolute;
  inset: -10% -10%;
  background-image: url('../img/hex-pattern.svg?v=2');
  background-size: 150px 130px;
  opacity: 0.28;
  -webkit-mask-image: radial-gradient(circle at 50% 25%, black, transparent 72%);
  mask-image: radial-gradient(circle at 50% 25%, black, transparent 72%);
}

/* unoszące się iskry (tworzy je main.js) */
.bg-ember {
  position: absolute;
  bottom: -24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,140,0.95) 0%, rgba(255,140,40,0.55) 45%, rgba(255,122,24,0) 72%);
  opacity: 0;
  will-change: transform, opacity;
  animation: ember-rise var(--dur, 18s) linear var(--delay, 0s) infinite;
}
@keyframes ember-rise {
  0%   { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
  12%  { opacity: 0.9; }
  70%  { opacity: 0.6; }
  100% { transform: translate3d(var(--dx, 40px), -112vh, 0) scale(1.15); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-blob { animation: none; }
  .bg-ember { display: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, filter .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad-brand);
  color: #1f0f04;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 14px 30px -10px rgba(255,122,24,0.6);
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 18px 38px -10px rgba(255,122,24,0.75); }

.btn-outline {
  background: rgba(255,255,255,0.03);
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.06); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }

/* ==================== MINI-NAGŁÓWEK (logo w rogu) ==================== */
.mini-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  pointer-events: none;
}
.mini-header::before {
  content: '';
  position: absolute;
  inset: 0;
  height: 110px;
  background: linear-gradient(180deg, rgba(13,9,7,0.7), transparent);
  pointer-events: none;
}
.mini-header .container { display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.mini-header .brand, .mini-header .btn { pointer-events: auto; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.2px;
  color: var(--text);
}
.brand .dot { color: var(--orange-bright); }
.brand-accent {
  background: linear-gradient(100deg, var(--orange-bright), var(--amber-bright), var(--gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* logo: kropkowy globus ze świecącym węzłem (assets/img/logo-mark.svg) */
.brand-mark {
  width: 42px; height: 42px;
  display: block;
  flex: none;
  filter: drop-shadow(0 4px 12px rgba(255,122,24,0.5));
  transition: transform .35s ease, filter .35s ease;
}
.brand:hover .brand-mark { transform: rotate(14deg) scale(1.06); filter: drop-shadow(0 6px 18px rgba(255,150,40,0.75)); }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 90px;
  text-align: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 26px;
}
.eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52,211,153,0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

.hero h1 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(32px, 5.6vw, 62px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.6px;
  margin-bottom: 38px;
}
.hero h1 .accent {
  background: var(--grad-brand-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 38px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 46px; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; }
.hero-stats div strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  letter-spacing: -0.3px;
  color: var(--text);
}
.hero-stats div span { font-size: 12.5px; color: var(--text-faint); }

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  font-size: 11.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  z-index: 1;
}
.scroll-cue svg { width: 18px; height: 18px; animation: bob 2s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ==================== HUB (lista stron) ==================== */
.hub { padding: 30px 0 90px; position: relative; }

.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.hub-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 148px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.hub-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
  box-shadow: var(--shadow-card-hover);
}

.hub-card .hc-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #1f0f04;
  padding: 9px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.hub-card:nth-child(1) .hc-icon { background: linear-gradient(145deg, var(--orange), var(--amber)); }
.hub-card:nth-child(2) .hc-icon { background: linear-gradient(145deg, var(--amber), var(--gold)); }
.hub-card:nth-child(3) .hc-icon { background: linear-gradient(145deg, var(--coral), var(--orange)); }
.hub-card:nth-child(4) .hc-icon { background: linear-gradient(145deg, var(--gold), var(--amber)); }

.hub-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 16.5px; letter-spacing: -0.1px; line-height: 1.3; }
.hub-card p { color: var(--text-muted); font-size: 13.8px; line-height: 1.55; flex: 1; }
.hub-card .hc-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color .2s, gap .2s;
}
.hub-card:hover .hc-arrow { color: var(--text); gap: 9px; }
.hub-card .hc-arrow svg { width: 14px; height: 14px; }

/* ==================== TICKER (sekcja, nie stały pasek) ==================== */
.ticker-section { padding: 8px 0 70px; }
.ticker-label {
  display: flex; align-items: center; gap: 10px;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ticker-label .dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(52,211,153,0.2); }

.ticker-bar {
  position: relative;
  height: 52px;
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 42px;
  white-space: nowrap;
  animation: ticker-scroll 42s linear infinite;
  padding-left: 100%;
}
.ticker-bar:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.ticker-item { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.ticker-logo { width: 20px; height: 20px; flex: none; display: flex; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,0.08); }
.ticker-logo svg { width: 100%; height: 100%; display: block; }
.ticker-item .sym { color: var(--text); font-weight: 700; }
.ticker-item .price { color: var(--text); }
.ticker-item .chg { display: inline-flex; align-items: center; gap: 2px; }
.ticker-item .chg.up { color: var(--green); }
.ticker-item .chg.down { color: var(--red); }

/* ==================== SECTION HEADINGS ==================== */
.section { padding: 90px 0; position: relative; }
/* subtelny odstępnik zamiast pełnego tła — "aurora" spod .bg-scene zostaje widoczna wszędzie */
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.025) 12%, rgba(255,255,255,0.025) 88%, transparent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 620px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}
.section-head p { color: var(--text-muted); font-size: 16px; }

/* ==================== FILTER TABS (KATEGORIE) ==================== */
.filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filter-tab {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s, transform .15s;
}
.filter-tab:hover { color: var(--text); border-color: var(--border-strong); transform: translateY(-1px); }
.filter-tab.active {
  background: var(--grad-brand);
  color: #1f0f04;
  border-color: transparent;
  box-shadow: 0 8px 20px -8px rgba(255,122,24,0.6);
}

.filter-empty { text-align: center; color: var(--text-muted); font-size: 14.5px; padding: 30px 0 6px; }

/* ==================== OFFER / EXCHANGE CARDS ==================== */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 22px; }

.offer-card {
  --accent: var(--orange-bright);
  --accent-rgb: var(--orange-rgb);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0) 45%), var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
}
.offer-card[data-category="cex"] { --accent: var(--amber-bright); --accent-rgb: var(--amber-rgb); }
.offer-card[data-category="dex"] { --accent: var(--orange-bright); --accent-rgb: var(--orange-rgb); }
.offer-card[data-category="airdrop"] { --accent: var(--coral-bright); --accent-rgb: var(--coral-rgb); }
.offer-card[data-category="wallet"] { --accent: var(--gold-bright); --accent-rgb: var(--gold-rgb); }
.offer-card[data-category="other"] { --accent: #ffc79a; --accent-rgb: 255, 199, 154; }

.offer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity .25s ease;
}
.offer-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-card-hover); }
.offer-card:hover::before { opacity: 1; }

.offer-top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }

.offer-logo {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(var(--accent-rgb),0.32), rgba(var(--accent-rgb),0.05));
  border: 1px solid rgba(var(--accent-rgb),0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--accent);
  font-size: 17px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
}
.offer-logo.has-logo {
  background: #fff;
  border-color: rgba(255,255,255,0.12);
  padding: 0;
}
.offer-logo.has-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb),0.14);
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb),0.35);
  white-space: nowrap;
}
.badge-risk { background: rgba(251,113,133,0.14); color: var(--red); border-color: rgba(251,113,133,0.35); }

.offer-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 19.5px; letter-spacing: -0.2px; }
.offer-card p { color: var(--text-muted); font-size: 14px; }

.offer-bonus {
  font-size: 14.5px;
  color: var(--text);
  padding: 12px 14px;
  border: 1px dashed rgba(var(--accent-rgb),0.4);
  border-radius: var(--radius-sm);
  background: rgba(var(--accent-rgb),0.06);
}
.offer-bonus strong { color: var(--accent); }

.promo-row {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 9px 11px; font-size: 13px; background: rgba(255,255,255,0.02);
}
.promo-row code { color: var(--accent); font-weight: 700; letter-spacing: 0.5px; flex: 1; }
.copy-btn {
  background: none; border: 1px solid var(--border); color: var(--text-muted);
  border-radius: 7px; padding: 4px 10px; font-size: 12px; cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.copy-btn:hover { color: var(--accent); border-color: rgba(var(--accent-rgb),0.5); background: rgba(var(--accent-rgb),0.1); }

.offer-note { font-size: 11px; color: var(--text-faint); }

/* ==================== O MNIE / SPLIT ==================== */
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }

.avatar-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1/1;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,122,24,0.18), rgba(255,176,32,0.05));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-pop), inset 0 0 60px rgba(255,122,24,0.08);
}
.avatar-frame img { width: 100%; height: 100%; object-fit: cover; }
.avatar-frame .avatar-fallback { width: 42%; height: 42%; color: var(--orange-bright); opacity: 0.5; }

.checklist { display: flex; flex-direction: column; gap: 15px; margin: 28px 0 34px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; color: var(--text-muted); font-size: 15px; }
.checklist li .ico {
  flex: none; width: 23px; height: 23px; border-radius: 50%;
  background: rgba(255,122,24,0.14); border: 1px solid var(--border);
  color: var(--orange-bright); display: flex; align-items: center; justify-content: center;
  padding: 5px; margin-top: 2px;
}

/* ==================== BLOG ==================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }

.post-card {
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  box-shadow: var(--shadow-card);
}
.post-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-card-hover); }

.post-thumb {
  height: 152px;
  background-image: url('../img/hex-pattern.svg?v=2'), linear-gradient(135deg, #3a1d0a, #0e0a07);
  background-size: 90px 78px, cover;
  position: relative;
  display: flex; align-items: flex-end;
}
.post-cat {
  margin: 14px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px;
  color: #1f0f04; background: var(--grad-brand); padding: 6px 11px; border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(255,122,24,0.7);
}

.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-date { font-size: 12.5px; color: var(--text-faint); }
.post-body h3 { font-family: 'Space Grotesk', sans-serif; font-size: 18.5px; line-height: 1.35; letter-spacing: -0.1px; }
.post-body p { color: var(--text-muted); font-size: 14.5px; flex: 1; }
.post-link { font-size: 14px; font-weight: 600; color: var(--orange-bright); display: inline-flex; align-items: center; gap: 6px; }

/* ==================== TIMELINE (o mnie) ==================== */
.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 10px; }
.timeline-item { display: grid; grid-template-columns: 90px 24px 1fr; gap: 4px; }
.timeline-item .t-year { font-family: 'Space Grotesk', sans-serif; color: var(--orange-bright); font-weight: 700; padding-top: 2px; }
.timeline-item .t-dot-col { display: flex; flex-direction: column; align-items: center; }
.timeline-item .t-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange-bright); margin-top: 6px; box-shadow: 0 0 10px rgba(255,122,24,0.6); }
.timeline-item .t-line { flex: 1; width: 1px; background: var(--border); margin-top: 4px; }
.timeline-item:last-child .t-line { display: none; }
.timeline-item .t-body { padding-bottom: 32px; }
.timeline-item .t-body h4 { font-size: 15.5px; margin-bottom: 4px; }
.timeline-item .t-body p { font-size: 14px; color: var(--text-muted); }

/* ==================== DISCLAIMER / RISK ==================== */
.disclaimer {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
}
.disclaimer strong { color: var(--text); }

/* ==================== CONTACT ==================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; background: rgba(255,255,255,0.025); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 13px 14px; color: var(--text);
  font-size: 14.5px; font-family: inherit; transition: border-color .15s, background .15s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--orange-bright); background: rgba(255,122,24,0.05);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 12.5px; color: var(--text-faint); margin-top: 10px; }

.contact-info-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0) 45%), var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px;
  height: fit-content; box-shadow: var(--shadow-card);
}
.contact-info-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.contact-info-row .ic {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: rgba(255,122,24,0.12); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-bright); padding: 10px; flex: none;
}
.contact-info-row span { display: block; font-size: 12.5px; color: var(--text-faint); }
.contact-info-row strong { font-size: 14.5px; }

.social-row { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.social-pill {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--orange-bright);
  padding: 10px; transition: background .18s, transform .18s, border-color .18s;
}
.social-pill:hover { background: rgba(255,122,24,0.12); border-color: var(--border-strong); transform: translateY(-3px); }

/* ==================== CTA BANNER ==================== */
.cta-banner {
  position: relative; border-radius: var(--radius-lg); padding: 60px 40px; text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,122,24,0.14), rgba(13,9,7,0.55) 60%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border); box-shadow: var(--shadow-pop);
}
.cta-banner h2 { position: relative; z-index: 1; font-family: 'Space Grotesk', sans-serif; font-size: clamp(24px,3vw,33px); letter-spacing: -0.3px; margin-bottom: 14px; }
.cta-banner p { position: relative; z-index: 1; color: var(--text-muted); max-width: 480px; margin: 0 auto 30px; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ==================== FOOTER (minimalna) ==================== */
.site-footer { border-top: 1px solid var(--border); padding: 46px 0 26px; background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent); position: relative; z-index: 1; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 26px; }
.footer-top p { color: var(--text-muted); font-size: 14px; max-width: 380px; }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: var(--text-faint);
}

/* ==================== PAGE HERO (podstrony) ==================== */
.page-header {
  padding: 110px 0 50px;
  position: relative;
  overflow: hidden;
}
.page-header h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(30px,4vw,48px); letter-spacing: -0.4px; position: relative; z-index: 1; }
.page-header p { color: var(--text-muted); margin-top: 14px; max-width: 560px; position: relative; z-index: 1; }
.breadcrumb { font-size: 13px; color: var(--text-faint); margin-bottom: 18px; position: relative; z-index: 1; }
.breadcrumb .accent-text { color: var(--orange-bright); }

/* ==================== PŁYNNE PRZEJŚCIA MIĘDZY SEKCJAMI ==================== */
/* .reveal startuje niewidoczny i lekko przesunięty w dół; main.js dodaje
   .is-visible, gdy element wjedzie w widoczny obszar ekranu. Dzieci sekcji
   oznaczonych jako .reveal-group dostają .reveal automatycznie przez JS
   (każde obserwowane osobno + narastający transition-delay), dzięki czemu
   duże siatki animują się karta po karcie w miarę scrollowania. */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s cubic-bezier(.16,.8,.24,1), transform .6s cubic-bezier(.16,.8,.24,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.no-anim { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Przenikanie sekcji (opacity + lekki dryf) ustawia main.js bezpośrednio na każdej
   klatce scrolla — dlatego tu celowo nie ma żadnego `transition`. */

/* Ostatni ekran strony głównej: CTA + zastrzeżenie + kursy na jednym "slajdzie" */
.closing .container > * + * { margin-top: 26px; }
.closing .cta-banner { padding: 44px 40px; }
.closing .ticker-label { margin-bottom: 14px; }

/* ==================== KAFELKI OFERT: kupon promocyjny ====================
   Góra: logo, nazwa, opis i bonus. Perforowana linia z wcięciami po bokach.
   Dół ("odcinek"): kod promocyjny + przycisk. Kolor akcentu zależy od kategorii
   (--accent / --accent-rgb ustawiane przez [data-category]). */
.deal {
  --stub: 156px;                 /* wysokość odcinka z kodem i przyciskiem */
  --notch: 13px;                 /* promień wcięć po bokach perforacji */
  padding: 0;
  gap: 0;
  border-radius: 26px;
  border: 1px solid rgba(255, 225, 190, 0.16);
  background:
    radial-gradient(280px 160px at 50% -12px, rgba(var(--accent-rgb), 0.28), transparent 72%),
    linear-gradient(165deg, rgba(255, 238, 220, 0.11), rgba(255, 238, 220, 0.035) 45%, rgba(255, 238, 220, 0.06));
  box-shadow: none;
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 calc(100% - var(--stub)), #0000 calc(var(--notch) - 0.5px), #000 var(--notch)) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% calc(100% - var(--stub)), #0000 calc(var(--notch) - 0.5px), #000 var(--notch)) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle var(--notch) at 0 calc(100% - var(--stub)), #0000 calc(var(--notch) - 0.5px), #000 var(--notch)) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% calc(100% - var(--stub)), #0000 calc(var(--notch) - 0.5px), #000 var(--notch)) right / 51% 100% no-repeat;
}
.deal:not(:has(.promo-row)) { --stub: 94px; }      /* karty bez kodu mają niższy odcinek */
.deal::before { display: none; }                    /* wyłącza stary pasek akcentu */
.deal::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: box-shadow 0.35s ease;
}
.deal:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: none;
}
.deal:hover::after {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(var(--accent-rgb), 0.22), inset 0 0 70px rgba(var(--accent-rgb), 0.12);
}

.offer-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 26px 20px;
  text-align: center;
}
.deal .offer-top { gap: 12px; }
.deal .offer-logo {
  width: 60px; height: 60px;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.5), 0 14px 30px -10px rgba(var(--accent-rgb), 0.75);
}
.deal .offer-logo.has-logo { border-color: transparent; }
.deal .offer-logo:not(.has-logo) { font-size: 22px; }
.deal h3 { font-size: 25px; letter-spacing: -0.5px; line-height: 1.1; }
.deal .offer-main p {
  font-size: 15px;
  line-height: 1.55;
  color: #dccbbb;
  max-width: 30ch;
}

/* bonus jako "hero" kuponu */
.deal .offer-bonus {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  padding: 14px 16px 15px;
  border-radius: 18px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.17), rgba(var(--accent-rgb), 0.05));
  font-size: 14px;
  color: var(--text);
}
.ob-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--accent);
}
.ob-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.deal .offer-bonus strong {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.4px;
  background: linear-gradient(100deg, var(--accent), #fff1d2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ob-note { font-size: 13.5px; line-height: 1.4; color: var(--text-muted); }

/* odcinek: kod + przycisk */
.offer-stub {
  position: relative;
  flex: none;
  height: var(--stub);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 22px 24px 24px;
}
.offer-stub::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(var(--notch) + 12px);
  right: calc(var(--notch) + 12px);
  border-top: 2px dashed rgba(var(--accent-rgb), 0.4);
}
.deal .promo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 10px 10px 16px;
  border-radius: 16px;
  border: 1.5px dashed rgba(var(--accent-rgb), 0.5);
  background: rgba(0, 0, 0, 0.2);
}
.pr-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pr-label { font-size: 10.5px; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase; color: var(--text-faint); }
.deal .promo-row code {
  flex: none;
  font-family: ui-monospace, 'SFMono-Regular', 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--accent);
}
.deal .copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 11px;
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--text);
  font: 600 13px 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}
.deal .copy-btn svg { width: 16px; height: 16px; flex: none; }
.deal .copy-btn:hover { background: rgba(var(--accent-rgb), 0.3); border-color: var(--accent); color: var(--text); transform: translateY(-1px); }
.deal .copy-btn.is-copied { background: rgba(52, 211, 153, 0.2); border-color: rgba(52, 211, 153, 0.7); color: #b7f5dc; }

/* ==================== PRZYCISKI ==================== */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(120deg, #ff7a18 0%, #ff9a2e 48%, #ffbf3d 100%);
  color: #1f0f04;
  font-weight: 700;
  letter-spacing: 0.1px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 0 rgba(160, 60, 0, 0.22), 0 14px 30px -10px rgba(255, 122, 24, 0.65);
}
.btn-primary::before {                              /* połysk przesuwający się po najechaniu */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.55) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn-primary:hover::before { transform: translateX(130%); }
.btn-primary:hover { filter: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(160, 60, 0, 0.22), 0 18px 36px -10px rgba(255, 122, 24, 0.8); }
.deal .btn-primary { padding: 15px 22px; font-size: 15.5px; }
.deal .btn-primary::after {
  content: '→';
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.25s ease;
}
.deal .btn-primary:hover::after { transform: translateX(5px); }

.btn-outline { border-color: rgba(255, 225, 190, 0.22); background: rgba(255, 238, 220, 0.05); }
.btn-outline:hover { border-color: rgba(var(--orange-rgb), 0.7); background: rgba(var(--orange-rgb), 0.12); color: var(--orange-bright); }

/* ==================== PRZEŁĄCZNIK KATEGORII ==================== */
.filter-tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 38px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 238, 220, 0.06);
  border: 1px solid rgba(255, 225, 190, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.filter-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: 600 14.5px 'Inter', sans-serif;
  letter-spacing: 0.1px;
  cursor: pointer;
  transition: color 0.25s ease;
}
.filter-tab:hover { color: var(--text); transform: none; border-color: transparent; }
.filter-tab.active { color: #1f0f04; background: transparent; box-shadow: none; }
.filter-tabs:not(.has-indicator) .filter-tab.active { background: var(--grad-brand); }
.ft-count {
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 238, 220, 0.12);
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: background 0.25s, color 0.25s;
}
.filter-tab.active .ft-count { background: rgba(31, 15, 4, 0.18); color: #1f0f04; }
.filter-indicator {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, #ff7a18, #ffa63a 60%, #ffc65c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 24px -8px rgba(255, 122, 24, 0.75);
  pointer-events: none;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), top 0.4s cubic-bezier(0.4, 0, 0.2, 1), width 0.4s cubic-bezier(0.4, 0, 0.2, 1), height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== KAFELKI HUB — spójnie z kuponami ==================== */
.hub-card {
  border-radius: 22px;
  background:
    radial-gradient(230px 120px at 50% -10px, rgba(var(--orange-rgb), 0.15), transparent 70%),
    linear-gradient(165deg, rgba(255, 238, 220, 0.10), rgba(255, 238, 220, 0.035));
}
.hub-card:hover { border-color: rgba(var(--orange-rgb), 0.5); box-shadow: 0 22px 50px -24px rgba(255, 122, 24, 0.6); }

@media (max-width: 760px) {
  .filter-tabs { flex-wrap: nowrap; justify-content: flex-start; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab { flex: none; white-space: nowrap; padding: 10px 16px; font-size: 14px; }
}

/* dopasowanie wysokości kuponów — cały pierwszy ekran ma się mieścić w oknie */
.home main > #oferty { padding: 112px 0 20px !important; }
.home #oferty .section-head { margin-bottom: 30px; }
.home #oferty .filter-tabs { margin-bottom: 26px; }
.deal { --stub: 154px; }
.deal:not(:has(.promo-row)) { --stub: 92px; }
.offer-main { gap: 10px; padding: 22px 24px 16px; }
.deal .offer-logo { width: 54px; height: 54px; border-radius: 16px; }
.deal h3 { font-size: 23px; }
.deal .offer-main p { max-width: 36ch; line-height: 1.5; }
.deal .offer-bonus { margin-top: auto; padding: 12px 14px 13px; }
.offer-stub { gap: 10px; padding: 18px 22px 20px; }
.offer-stub > * { flex: none; }
.pr-label, .deal .promo-row code, .deal .copy-btn { line-height: 1.2; }
.deal .btn-primary { line-height: 1.2; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 980px) {
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .hub-grid { grid-template-columns: 1fr; }
  .hero { padding: 100px 0 70px; }
  .split { gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-header { padding: 96px 0 40px; }
}

/* ==================== SIATKA OFERT: wyśrodkowany ostatni rząd ====================
   3 kolumny na dużych ekranach, 2 na średnich, 1 na telefonach; niepełny rząd
   (np. 5 kart = 3 + 2) jest wyśrodkowany zamiast przyklejony do lewej. */
#offersGrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
#offersGrid > .deal { flex: 0 0 calc((100% - 44px) / 3); min-width: 0; max-width: calc((100% - 44px) / 3); }
@media (max-width: 1020px) { #offersGrid > .deal { flex-basis: calc((100% - 22px) / 2); max-width: calc((100% - 22px) / 2); } }
@media (max-width: 640px)  { #offersGrid > .deal { max-width: 100%; flex-basis: 100%; } }

/* ==================== PASEK KATEGORII v2: ikony, kolor akcentu, świetlna ramka ==================== */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes tabs-orbit { to { --ang: 360deg; } }

.filter-tabs {
  --ind-a: #ff7a18; --ind-b: #ffc65c; --ind-glow: 255, 122, 24;
  gap: 2px;
  padding: 7px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(rgba(22, 11, 5, 0.9), rgba(22, 11, 5, 0.9)) padding-box,
    conic-gradient(from var(--ang), rgba(255, 225, 190, 0.14) 0 52%, rgba(255, 122, 24, 0.95) 74%, rgba(255, 222, 130, 1) 84%, rgba(255, 225, 190, 0.14) 100%) border-box;
  animation: tabs-orbit 7s linear infinite;
  box-shadow: 0 24px 60px -28px rgba(var(--ind-glow), 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: box-shadow 0.5s ease;
}
.filter-tabs[data-active="cex"]     { --ind-a: #ff8a1c; --ind-b: #ffc65c; --ind-glow: 255, 150, 40; }
.filter-tabs[data-active="airdrop"] { --ind-a: #ff5a3c; --ind-b: #ff9a5c; --ind-glow: 255, 90, 60; }
.filter-tabs[data-active="wallet"]  { --ind-a: #ffb020; --ind-b: #ffe085; --ind-glow: 255, 190, 50; }
.filter-tabs[data-active="dex"]     { --ind-a: #ff7a18; --ind-b: #ffa63a; --ind-glow: 255, 122, 24; }
.filter-tabs[data-active="other"]   { --ind-a: #ff9f6b; --ind-b: #ffd3a8; --ind-glow: 255, 175, 120; }

.filter-tab {
  gap: 9px;
  padding: 12px 20px 12px 16px;
  font-size: 15px;
  letter-spacing: 0.1px;
}
.filter-tab:hover { color: var(--text); }
.filter-tab:focus-visible { outline: 2px solid rgba(255, 190, 110, 0.9); outline-offset: 2px; }
.ft-ico {
  width: 19px; height: 19px;
  flex: none;
  opacity: 0.85;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}
.filter-tab:hover .ft-ico { transform: translateY(-2px) rotate(-8deg) scale(1.1); opacity: 1; }
.filter-tab.active .ft-ico { opacity: 1; transform: scale(1.12); }
.filter-tab.active:hover .ft-ico { transform: translateY(-2px) rotate(-8deg) scale(1.18); }

.filter-indicator {
  background: linear-gradient(120deg, var(--ind-a), var(--ind-b));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(120, 40, 0, 0.18), 0 10px 28px -6px rgba(var(--ind-glow), 0.85);
  transition: left 0.5s cubic-bezier(0.34, 1.3, 0.5, 1), top 0.5s cubic-bezier(0.34, 1.3, 0.5, 1), width 0.5s cubic-bezier(0.34, 1.3, 0.5, 1), height 0.5s cubic-bezier(0.34, 1.3, 0.5, 1), background 0.5s ease, box-shadow 0.5s ease;
}
.filter-indicator::after {                          /* połysk na aktywnym znaczniku */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
  background-size: 250% 100%;
  animation: tab-sheen 3.6s ease-in-out infinite;
}
@keyframes tab-sheen { 0% { background-position: 130% 0; } 55%, 100% { background-position: -130% 0; } }

.ft-count {
  min-width: 21px;
  padding: 1px 7px;
  background: rgba(255, 238, 220, 0.1);
  font-size: 11.5px;
}

@media (max-width: 760px) {
  .filter-tabs { border-radius: 999px; padding: 6px; }
  .filter-tab { padding: 10px 16px 10px 13px; font-size: 14px; gap: 7px; }
  .ft-ico { width: 17px; height: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .filter-tabs, .filter-indicator::after { animation: none; }
}

/* ==================== PRZYCISK OFERTY: strzałka w kółku, głębia, delikatny blask ==================== */
.deal .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 12px 10px 22px;
  border-radius: 16px;
  font-size: 15.5px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(115deg, #ff7a18 0%, #ff9a2e 50%, #ffbf3d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 0 rgba(150, 55, 0, 0.25),
    0 0 0 1px rgba(255, 170, 70, 0.35),
    0 12px 26px -10px rgba(255, 122, 24, 0.75);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.deal .btn-primary::after {
  content: '→';
  flex: none;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  margin: 0;
  border-radius: 50%;
  background: #24110a;
  color: #ffc25a;
  font-size: 15px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 190, 110, 0.35), 0 4px 10px -3px rgba(60, 20, 0, 0.6);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s, color 0.25s;
}
.deal .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -2px 0 rgba(150, 55, 0, 0.25),
    0 0 0 1px rgba(255, 190, 90, 0.6),
    0 18px 34px -10px rgba(255, 122, 24, 0.9);
}
.deal .btn-primary:hover::after { transform: translateX(3px) rotate(-45deg); background: #1a0b05; color: #ffe08a; }
.deal .btn-primary:active { transform: translateY(0) scale(0.985); }
.deal .btn-primary:focus-visible { outline: 2px solid #ffe3a8; outline-offset: 3px; }

/* ==================== PRZYCISK OFERTY v3: czysty, bez strzałek ==================== */
.deal .btn-primary {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 15px 22px;
  border-radius: 15px;
  font-size: 15.5px;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 0 rgba(255, 235, 200, 0.45);
}
.deal .btn-primary::after { content: none; }
.deal .btn-primary:hover::after { transform: none; }
.deal .btn-primary::before {                        /* wolny połysk co kilka sekund */
  animation: btn-glint 5.5s ease-in-out infinite;
  transition: none;
  transform: translateX(-130%);
}
.deal .btn-primary:hover::before { animation-duration: 1.4s; }
@keyframes btn-glint { 0%, 62% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@media (prefers-reduced-motion: reduce) { .deal .btn-primary::before { animation: none; } }

/* ==================== TŁO: sieć węzłów (rysuje ją main.js) ==================== */
.bg-net { position: absolute; inset: 0; display: block; pointer-events: none; }
.has-net .bg-grid { opacity: 0.1; }

/* ==================== LISTA WYBORU TEMATU (kontakt) ==================== */
.form-field select {
  color-scheme: dark;                                   /* ciemna lista rozwijana w przeglądarce */
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 42px;
  background-color: rgba(255, 238, 220, 0.05);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb36b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.form-field select:hover { border-color: rgba(255, 190, 110, 0.4); }
.form-field select option {
  background-color: #1d110a;
  color: #fff6ec;
  padding: 10px 14px;
}
.form-field select option:checked,
.form-field select option:hover {
  background-color: #ff8a1c;
  color: #1f0f04;
}

/* ==================== KOD NIEWYMAGANY (oferty z samym linkiem) ==================== */
.deal .promo-row.no-code { justify-content: center; padding: 10px 14px; border-style: dashed; border-color: rgba(var(--accent-rgb), 0.3); background: rgba(0, 0, 0, 0.14); }
.deal .promo-row.no-code .pr-text { align-items: center; text-align: center; }
.pr-none { font-size: 13.5px; font-weight: 600; color: var(--text-muted); line-height: 1.25; }

/* ==================== OSTATNIE WPISY (X + YouTube) ==================== */
.feed-block { max-width: 700px; margin: 0 auto 64px; }
.feed-block:last-child { margin-bottom: 0; }
.feed-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.feed-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.feed-title h2 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; letter-spacing: -0.3px; line-height: 1.2; }
.feed-handle { display: block; margin-top: 3px; font-size: 13px; color: var(--text-muted); }
.feed-ico {
  flex: none; width: 46px; height: 46px; padding: 12px;
  display: grid; place-items: center;
  border-radius: 14px; color: #1f0f04;
  background: linear-gradient(145deg, var(--orange), var(--amber));
  box-shadow: 0 12px 26px -12px rgba(255, 122, 24, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.feed-ico svg { width: 100%; height: 100%; }
.feed-ico--yt { background: linear-gradient(145deg, var(--coral), var(--orange)); }

.feed-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(255, 225, 190, 0.16);
  background: linear-gradient(165deg, rgba(255, 238, 220, 0.09), rgba(255, 238, 220, 0.03));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}
.feed-x { padding: 14px 16px; min-height: 180px; }
.feed-x .twitter-timeline { display: block; color: var(--text-muted); font-size: 14px; padding: 14px 6px; }
.feed-x iframe { border-radius: 16px; }
.feed-fallback { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 32px 20px; text-align: center; }
.feed-fallback[hidden] { display: none; }
.feed-fallback p { color: var(--text-muted); font-size: 14.5px; max-width: 46ch; line-height: 1.6; }

.feed-yt { aspect-ratio: 16 / 9; padding: 0; border-color: rgba(255, 190, 110, 0.28); box-shadow: 0 30px 70px -34px rgba(255, 122, 24, 0.55); }
.feed-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 560px) {
  .feed-head { flex-wrap: wrap; }
  .feed-title h2 { font-size: 19px; }
}

.feed-yt .feed-fallback { position: absolute; inset: 0; justify-content: center; }
.feed-yt .feed-fallback[hidden] { display: none; }

/* obszar postów z X: maks. ok. 5 postów, dalej łagodne zanikanie */
.feed-x { max-height: 900px; }
.feed-x.is-clipped::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(14, 8, 4, 0.92));
}

/* nagłówek podstron: przycisk powrotu nie zawija się na wąskich ekranach */
.mini-header .btn { white-space: nowrap; flex: none; }
@media (max-width: 420px) { .mini-header .btn-sm { padding: 9px 14px; font-size: 13px; } }
@media (max-width: 420px) {
  .mini-header .container { gap: 10px; }
  .mini-header .brand-mark { width: 34px; height: 34px; }
  .mini-header .brand-text { font-size: 17px; }
  .mini-header .btn-sm { padding: 8px 12px; font-size: 12.5px; }
}

/* logo w kolorze białym na przezroczystym tle — ciemny kafelek */
.offer-logo.has-logo.logo-dark { background: linear-gradient(145deg, #2a1a10, #120a05); padding: 11px; }
.offer-logo.has-logo.logo-dark img { object-fit: contain; }

/* ==================== KARTY: przycisk "Instrukcja" obok "Odbierz bonus" ==================== */
.stub-actions { display: flex; gap: 10px; }
.stub-actions .btn-primary { flex: 1 1 auto; min-width: 0; padding-left: 14px; padding-right: 14px; }
.btn-guide {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 18px;
  border-radius: 15px;
  border: 1px solid rgba(var(--accent-rgb, 255, 160, 60), 0.5);
  background: rgba(var(--accent-rgb, 255, 160, 60), 0.12);
  color: var(--text);
  font: 600 14.5px 'Inter', sans-serif;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn-guide:hover { background: rgba(var(--accent-rgb, 255, 160, 60), 0.28); border-color: var(--accent, #ffa63a); transform: translateY(-2px); }
.btn-guide:focus-visible { outline: 2px solid #ffe3a8; outline-offset: 3px; }

/* ==================== PODSTRONY Z INSTRUKCJAMI (/okx/, /kraken/ …) ==================== */
.guide { max-width: 760px; }
.guide h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(22px, 3vw, 28px); letter-spacing: -0.3px; margin: 44px 0 16px; }
.guide-card { max-width: 400px; margin: 0 auto; }
.guide-updated { text-align: center; color: var(--text-faint); font-size: 13.5px; margin: 18px 0 0; }
.draft-note {
  margin-bottom: 26px; padding: 14px 18px; border-radius: 14px;
  background: rgba(255, 200, 60, 0.1); border: 1px dashed rgba(255, 200, 60, 0.55);
  color: #ffe9a8; font-size: 14px; line-height: 1.55;
}
mark.todo { background: rgba(255, 210, 70, 0.22); color: #ffe9a8; padding: 1px 6px; border-radius: 6px; }

.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps li {
  counter-increment: step; position: relative;
  padding: 18px 20px 18px 70px; border-radius: 18px;
  border: 1px solid rgba(255, 225, 190, 0.14);
  background: linear-gradient(165deg, rgba(255, 238, 220, 0.08), rgba(255, 238, 220, 0.03));
}
.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 18px;
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font: 700 17px 'Space Grotesk', sans-serif; color: #1f0f04;
  background: linear-gradient(145deg, var(--orange), var(--amber));
  box-shadow: 0 10px 22px -10px rgba(255, 122, 24, 0.8);
}
.steps h3 { font-family: 'Space Grotesk', sans-serif; font-size: 17px; margin-bottom: 6px; }
.steps p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

.guide-list { display: grid; gap: 10px; padding-left: 22px; color: var(--text-muted); line-height: 1.6; }
.guide-list li::marker { color: var(--orange-bright); }
.guide-list strong, .steps strong, .faq strong { color: var(--text); }

.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; border: 1px solid rgba(255, 225, 190, 0.14); background: rgba(255, 238, 220, 0.05); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); color: var(--orange-bright); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--text-muted); padding-bottom: 16px; line-height: 1.6; }

.guide-cta { display: flex; justify-content: center; margin: 40px 0 0; }
.guide-more { display: flex; flex-wrap: wrap; gap: 10px; }
.guide-disclaimer { margin-top: 40px; font-size: 13px; color: var(--text-faint); line-height: 1.7; }

@media (max-width: 560px) {
  .steps li { padding: 16px 16px 16px 62px; }
  .steps li::before { left: 14px; top: 16px; width: 34px; height: 34px; }
}

/* ==================== "POKAŻ WIĘCEJ" pod siatką ofert ==================== */
.show-more { display: flex; justify-content: center; margin-top: 30px; }
.show-more[hidden] { display: none; }
.show-more .btn { padding: 13px 28px; }

/* ==================== PODSTRONY AIRDROPÓW: nagłówek, fakty, ramka sieci ==================== */
.guide-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.guide-logo .offer-logo { width: 64px; height: 64px; border-radius: 18px; flex: none; }
.guide-head-text { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.guide .guide-name { margin: 0; font-size: 24px; }
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px;
  margin: 0 0 22px;
}
.facts > div {
  padding: 14px 16px; border-radius: 16px;
  border: 1px solid rgba(255, 225, 190, 0.14);
  background: linear-gradient(165deg, rgba(255, 238, 220, 0.08), rgba(255, 238, 220, 0.03));
}
.facts dt { font-size: 11.5px; letter-spacing: 0.9px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 5px; }
.facts dd { font-weight: 600; line-height: 1.35; }
.guide-note { color: var(--text-muted); font-size: 14px; line-height: 1.65; margin-bottom: 8px; }
.guide-note a { color: var(--orange-bright); }
.guide-extra { margin-top: 16px; color: var(--text-muted); line-height: 1.65; }
.guide-extra a { color: var(--orange-bright); word-break: break-word; }
.steps a { color: var(--orange-bright); word-break: break-word; }
.steps code, .guide-list code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.9em; background: rgba(255, 238, 220, 0.08); padding: 1px 6px; border-radius: 6px; word-break: break-word; }
.netinfo { margin: 24px 0 0; padding: 16px 18px; border-radius: 16px; border: 1px dashed rgba(255, 190, 110, 0.4); background: rgba(0, 0, 0, 0.22); }
.netinfo h3 { font-size: 14px; margin-bottom: 10px; color: var(--orange-bright); }
.netinfo pre { white-space: pre-wrap; word-break: break-word; font: 13.5px/1.7 ui-monospace, Menlo, Consolas, monospace; color: var(--text); margin: 0; }
@media (max-width: 560px) {
  .guide-head { flex-direction: row; }
  .guide-head-text { gap: 10px; }
}

/* ==================== STRONA KATEGORII /airdropy/ ==================== */
.al-page { max-width: 980px; }
.al-group { font-family: 'Space Grotesk', sans-serif; font-size: 20px; margin: 34px 0 14px; color: var(--text); }
.al-group span { color: var(--text-faint); font-weight: 500; font-size: 16px; }
.al-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.al-item {
  position: relative; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; row-gap: 10px; align-items: start;
  padding: 16px; border-radius: 18px; text-decoration: none; color: inherit;
  border: 1px solid rgba(255, 225, 190, 0.14);
  background: linear-gradient(165deg, rgba(255, 238, 220, 0.08), rgba(255, 238, 220, 0.03));
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.al-item:hover { transform: translateY(-3px); border-color: rgba(255, 160, 60, 0.55); background: linear-gradient(165deg, rgba(255, 160, 60, 0.14), rgba(255, 238, 220, 0.04)); }
.al-item:focus-visible { outline: 2px solid #ffe3a8; outline-offset: 3px; }
.al-logo .offer-logo { width: 52px; height: 52px; border-radius: 15px; font-size: 20px; }
.al-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.al-body strong { font-family: 'Space Grotesk', sans-serif; font-size: 17px; line-height: 1.2; }
.al-kind { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--orange-bright); }
.al-desc { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.al-go { grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: var(--orange-bright); }
.al-item:hover .al-go { color: var(--text); }
.category-link { display: flex; justify-content: center; margin-top: 18px; }
.category-link[hidden] { display: none; }
.category-link a { color: var(--orange-bright); font-weight: 600; text-decoration: none; }
.category-link a:hover { color: var(--text); text-decoration: underline; }
.guide-video { margin-top: 4px; }
