/* =====================================================
   WIOSKAMC.PL — STYLE (wersja pixel)
   Motywy: jasny (domyślny) i ciemny [data-theme="dark"]
   ===================================================== */

:root {
  --paper: #fafaf5;
  --card: #ffffff;
  --ink: #1c2418;
  --muted: #61705c;
  --leaf: #3f9e3b;
  --leaf-dark: #2c7a29;
  --leaf-soft: #eaf5e6;
  --sun: #f0a824;
  --sun-soft: #fdf3da;
  --line: #e5e6da;
  --tile: linear-gradient(160deg, #141a12, #0b0f0a);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(28, 36, 24, 0.07);
  --glow-green: rgba(63, 158, 59, 0.14);
  --glow-sun: rgba(240, 168, 36, 0.16);
  --font-display: "Pixelify Sans", system-ui, sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
}

[data-theme="dark"] {
  --paper: #10150e;
  --card: #171e14;
  --ink: #e9eee4;
  --muted: #9caa94;
  --leaf: #4db83f;
  --leaf-dark: #7ed86f;
  --leaf-soft: #1c2a18;
  --sun: #f0a824;
  --sun-soft: #2c2412;
  --line: #26301f;
  --tile: linear-gradient(160deg, #0d120b, #060906);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --glow-green: rgba(77, 184, 63, 0.10);
  --glow-sun: rgba(240, 168, 36, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Celowo NIE honorujemy prefers-reduced-motion — animacje mają grać u każdego. */

body {
  font-family: var(--font-body);
  background:
    radial-gradient(900px 500px at 85% -5%, var(--glow-sun), transparent 60%),
    radial-gradient(800px 600px at -10% 20%, var(--glow-green), transparent 60%),
    radial-gradient(700px 500px at 50% 105%, var(--glow-green), transparent 60%),
    var(--paper);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }
a { color: var(--leaf-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.5px; line-height: 1.12; }

/* Ikony SVG */
.ic { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a {
  color: var(--ink); font-weight: 600; font-size: 0.95rem;
  padding: 6px 2px; border-bottom: 3px solid transparent;
}
.nav a:hover { text-decoration: none; border-bottom-color: var(--sun); }
.nav a.active { border-bottom-color: var(--leaf); }
.theme-btn {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
  background: var(--card); border: 1.5px solid var(--line); color: var(--ink);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.theme-btn:hover { transform: rotate(15deg) scale(1.06); border-color: var(--sun); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); }
.nav-toggle .ic { width: 26px; height: 26px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 14px; border: none; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  position: relative;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #57b453, #3f9e3b 45%, #2c7a29);
  color: #fff;
  box-shadow: 0 5px 0 #1e5c1c, 0 12px 22px rgba(63, 158, 59, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 2px rgba(30, 92, 28, 0.4);
}
.btn-primary:active { box-shadow: 0 2px 0 #1e5c1c, 0 6px 12px rgba(63,158,59,0.3), inset 0 2px 0 rgba(255,255,255,0.35); }
.btn-sun {
  background: linear-gradient(180deg, #ffce55, #f0a824 45%, #d98b0f);
  color: #5c3d00;
  box-shadow: 0 5px 0 #9c6408, 0 12px 22px rgba(240, 168, 36, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.5);
}
.btn-sun:active { box-shadow: 0 2px 0 #9c6408, 0 6px 12px rgba(240,168,36,0.3), inset 0 2px 0 rgba(255,255,255,0.5); }
.btn-ghost { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: var(--leaf); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: 999px; padding: 7px 16px; font-size: 0.85rem; font-weight: 600;
  box-shadow: var(--shadow);
}
.status-dot { width: 9px; height: 9px; border-radius: 3px; background: #c33; }
.status-dot.online { background: var(--leaf); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(77, 184, 63, 0.25); }
  50% { box-shadow: 0 0 0 9px rgba(77, 184, 63, 0.06); }
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 20px 0 16px; }
.hero h1 .accent { color: var(--leaf); text-shadow: 0 3px 0 rgba(30, 92, 28, 0.25); }
.hero p.lead { color: var(--muted); font-size: 1.05rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-logo { text-align: center; position: relative; }
.hero-logo::before {
  content: ""; position: absolute; inset: -8% -12%;
  background: radial-gradient(closest-side, var(--glow-sun), var(--glow-green) 55%, transparent 75%);
  filter: blur(6px); z-index: -1;
}
.hero-logo img {
  max-width: 480px; width: 100%; margin: 0 auto;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.3));
  animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Animacje wejścia hero */
.hero .anim-in { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.hero .anim-in.d1 { animation-delay: 0.05s; }
.hero .anim-in.d2 { animation-delay: 0.18s; }
.hero .anim-in.d3 { animation-delay: 0.32s; }
.hero .anim-in.d4 { animation-delay: 0.46s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-logo.anim-pop { opacity: 0; animation: pop 0.8s cubic-bezier(0.2, 1.4, 0.4, 1) 0.25s forwards; }
@keyframes pop { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }

/* Spadające pixelowe listki */
.fall-leaf { position: absolute; top: -40px; z-index: 1; pointer-events: none; opacity: 0.7; animation: leafFall linear infinite; }
@keyframes leafFall {
  0% { transform: translateY(-40px) translateX(0) rotate(0deg); opacity: 0; }
  8% { opacity: 0.7; }
  50% { transform: translateY(45vh) translateX(-30px) rotate(120deg); }
  92% { opacity: 0.7; }
  100% { transform: translateY(95vh) translateX(20px) rotate(260deg); opacity: 0; }
}

/* ---------- Sekcje + pixelowe gałązki ---------- */
.section { padding: 64px 0; position: relative; }
.section.has-decor { overflow: hidden; }
.section-head { text-align: center; margin-bottom: 40px; position: relative; z-index: 1; }
.section-head h2 {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
}
.pxbranch { width: 72px; height: 34px; flex-shrink: 0; image-rendering: pixelated; }
.pxbranch.flip { transform: scaleX(-1); }
.section-head p { color: var(--muted); margin-top: 8px; }
.section > .container { position: relative; z-index: 1; }

.deco-leaf {
  position: absolute; z-index: 0; pointer-events: none;
  opacity: 0.45; animation: leafFloat 7s ease-in-out infinite;
}
@keyframes leafFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(8deg); }
}
.pxleaf { image-rendering: pixelated; display: block; }

/* Pasek trawy (pixelowy divider) */
.grass-divider {
  height: 16px; width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16' shape-rendering='crispEdges'%3E%3Crect x='0' y='8' width='32' height='8' fill='%233f9e3b'/%3E%3Crect x='0' y='4' width='4' height='4' fill='%233f9e3b'/%3E%3Crect x='8' y='0' width='4' height='8' fill='%234db83f'/%3E%3Crect x='16' y='4' width='4' height='4' fill='%232c7a29'/%3E%3Crect x='24' y='2' width='4' height='6' fill='%234db83f'/%3E%3Crect x='4' y='6' width='4' height='2' fill='%234db83f'/%3E%3Crect x='20' y='6' width='4' height='2' fill='%233f9e3b'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  image-rendering: pixelated;
}

/* ---------- Karty trybów ---------- */
.modes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mode-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.mode-card.active { border-color: var(--leaf); }
.mode-card.active::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--leaf), #8ee36f, var(--sun));
}
.mode-card.active:hover { transform: translateY(-5px); box-shadow: 0 18px 40px var(--glow-green); }
.mode-card.soon { opacity: 0.6; }
.mode-tag {
  position: absolute; top: 20px; right: 20px;
  background: var(--sun-soft); color: var(--sun);
  font-family: var(--font-display); font-size: 0.9rem; padding: 3px 12px; border-radius: 8px;
}
.mode-card h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--leaf-dark); }
.mode-card.soon h3 { color: var(--muted); }
.mode-card p { color: var(--muted); font-size: 0.93rem; }
.mode-card .btn { margin-top: 20px; }

/* ---------- O nas ---------- */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.about-card { background: var(--leaf-soft); border-radius: var(--radius); padding: 28px; transition: transform 0.15s ease; }
.about-card:hover { transform: translateY(-4px); }
.about-card .icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); color: var(--leaf); border: 1.5px solid var(--line);
}
.about-card .icon .ic { width: 24px; height: 24px; }
.about-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.about-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Jak to działa ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); text-align: center;
}
.step-num {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.7rem; color: #fff;
  background: linear-gradient(180deg, #57b453, #2c7a29);
  box-shadow: 0 4px 0 #1e5c1c, inset 0 2px 0 rgba(255,255,255,0.35);
  text-shadow: 0 1px 2px rgba(30,92,28,0.4);
}
.step-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Marquee: ostatni kupujący ---------- */
.buyers-marquee { overflow: hidden; position: relative; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.buyers-track { display: flex; gap: 14px; width: max-content; animation: marquee 28s linear infinite; }
.buyers-marquee:hover .buyers-track { animation-play-state: paused; }
.buyers-track.static { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.buyer-chip {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: 999px; padding: 8px 20px 8px 8px; box-shadow: var(--shadow);
}
.buyer-chip img { width: 38px; height: 38px; border-radius: 10px; image-rendering: pixelated; }
.buyer-chip .nick { font-weight: 700; font-size: 0.9rem; }
.buyer-chip .when { font-size: 0.78rem; color: var(--muted); }

/* ---------- Top bogaczy ---------- */
.top-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.top-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 22px 12px 18px; text-align: center; position: relative;
  transition: transform 0.15s ease;
}
.top-card:hover { transform: translateY(-4px); }
.top-card.gold { border-color: var(--sun); background: linear-gradient(180deg, var(--sun-soft), var(--card)); }
.top-card .crown, .top-card .rank {
  position: absolute; top: 10px; left: 12px;
  font-family: var(--font-display); font-size: 0.95rem; color: var(--muted);
}
.top-card .crown { color: var(--sun); }
.top-card img { width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 12px; image-rendering: pixelated; }
.top-card .nick { font-weight: 700; font-size: 0.85rem; word-break: break-all; }
.top-card .amount { color: var(--leaf-dark); font-family: var(--font-display); font-size: 1rem; margin-top: 4px; }

/* ---------- Sklep ---------- */
.cat-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.cat-tab {
  background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink);
  padding: 9px 22px; font-family: var(--font-display); font-size: 1.05rem; cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.cat-tab:hover { transform: translateY(-2px); border-color: var(--leaf); }
.cat-tab.active { background: var(--leaf); border-color: var(--leaf); color: #fff; box-shadow: 0 3px 0 #1e5c1c; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative; overflow: hidden;
}
.product-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--leaf), #8ee36f, var(--sun));
  opacity: 0; transition: opacity 0.15s ease;
}
.product-card:hover { transform: translateY(-5px); border-color: var(--leaf); box-shadow: 0 18px 40px var(--glow-green); }
.product-card:hover::before { opacity: 1; }
.product-media {
  background: var(--tile); border-radius: 12px; margin-bottom: 16px;
  height: 150px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; border: 1px solid rgba(255,255,255,0.05);
}
.product-media img {
  max-height: 120px; max-width: 88%; object-fit: contain;
  transition: transform 0.25s ease;
}
.product-card:hover .product-media img { transform: scale(1.07) translateY(-2px); }
.product-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.product-card .desc { color: var(--muted); font-size: 0.88rem; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; gap: 10px; }
.price { font-family: var(--font-display); font-size: 1.45rem; color: var(--leaf-dark); }

/* ---------- Formularze / voucher ---------- */
.panel {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow); max-width: 560px; margin: 0 auto;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"] {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 1rem; background: var(--paper); color: var(--ink);
}
.field input[type="text"]:focus, .field input[type="email"]:focus { border-color: var(--leaf); outline: none; }

/* Suwak ilości (klucze itp.) */
.field input[type="range"] {
  width: 100%; height: 26px; accent-color: var(--leaf); cursor: pointer;
  touch-action: pan-y; /* na telefonie suwak nie blokuje przewijania strony */
}
.qty-badge {
  display: inline-block; background: var(--leaf-soft); color: var(--leaf-dark);
  border-radius: 8px; padding: 1px 10px; margin-left: 6px;
  font-family: var(--font-display); font-size: 1rem;
}
.price .per-unit { font-size: 0.75rem; color: var(--muted); font-family: var(--font-body); margin-left: 2px; }

/* Metody płatności w modalu */
.pay-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.pay-method {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 8px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--ink); cursor: pointer;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.pay-method img { height: 22px; max-width: 90px; object-fit: contain; }
.pay-method:hover { border-color: var(--leaf); transform: translateY(-1px); }
.pay-method.active { border-color: var(--leaf); background: var(--leaf-soft); box-shadow: 0 0 0 1.5px var(--leaf); }
.pay-loading { color: var(--muted); font-size: 0.85rem; padding: 6px 0; }

/* Strona podziękowania */
.thanks-panel { text-align: center; }
.thanks-panel h3 { font-size: 1.4rem; margin: 12px 0 8px; }
.thanks-panel p { color: var(--muted); font-size: 0.95rem; }
.tx-icon {
  width: 64px; height: 64px; margin: 0 auto; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.tx-icon .ic { width: 32px; height: 32px; }
.tx-icon.ok { background: var(--leaf-soft); color: var(--leaf-dark); }
.tx-icon.err { background: rgba(201, 69, 55, 0.12); color: #c94537; font-family: var(--font-display); }
.tx-icon.wait {
  border: 4px solid var(--line); border-top-color: var(--leaf);
  animation: spin 1s linear infinite; width: 48px; height: 48px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Checkbox akceptacji regulaminu */
.check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem; color: var(--muted); margin: 14px 0;
  padding: 10px 12px; border-radius: 10px; border: 1.5px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--leaf); cursor: pointer; flex-shrink: 0; }
.check.err { border-color: #c94537; background: rgba(201, 69, 55, 0.08); animation: shake 0.3s ease; }
@keyframes shake { 0%,100%{transform:none} 25%{transform:translateX(-5px)} 75%{transform:translateX(5px)} }

.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }
.form-msg { margin-top: 16px; font-weight: 600; font-size: 0.9rem; }
.form-msg.ok { color: var(--leaf-dark); }
.form-msg.err { color: #c94537; }

/* ---------- Regulamin ---------- */
.legal { max-width: 780px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: 0.95rem; }
.legal ol { padding-left: 22px; }
.legal .todo {
  background: var(--sun-soft); border-left: 4px solid var(--sun);
  padding: 12px 16px; border-radius: 8px; font-size: 0.88rem; margin: 12px 0; color: var(--ink);
}

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(8, 12, 6, 0.6);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px;
  backdrop-filter: blur(3px);
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--card); border-radius: var(--radius); padding: 34px;
  max-width: 460px; width: 100%; box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  border: 1.5px solid var(--line);
  max-height: 92vh; overflow-y: auto; /* modal z metodami płatności bywa wysoki */
  animation: modalIn 0.25s cubic-bezier(0.2, 1.2, 0.4, 1);
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.92) translateY(14px); } to { opacity: 1; transform: none; } }
.modal h3 { font-size: 1.5rem; margin-bottom: 4px; }
.modal .modal-price { color: var(--leaf-dark); font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 18px; }
.modal-actions { display: flex; gap: 12px; margin-top: 8px; }
.modal-actions .btn { flex: 1; justify-content: center; }

/* ---------- Stopka ---------- */
.footer { background: var(--card); margin-top: 40px; padding: 0 0 32px; }
.footer .container { padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.4fr; gap: 36px; }
.footer img.footer-logo { max-width: 190px; }
.footer h4 {
  font-family: var(--font-display); font-size: 1.05rem;
  letter-spacing: 0.04em; color: var(--leaf-dark); margin-bottom: 14px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer li::before {
  content: ""; width: 10px; height: 10px; flex-shrink: 0; image-rendering: pixelated;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' shape-rendering='crispEdges'%3E%3Crect x='4' y='0' width='2' height='2' fill='%232c7a29'/%3E%3Crect x='2' y='2' width='6' height='2' fill='%233f9e3b'/%3E%3Crect x='0' y='4' width='10' height='2' fill='%234db83f'/%3E%3Crect x='2' y='6' width='6' height='2' fill='%233f9e3b'/%3E%3Crect x='4' y='8' width='2' height='2' fill='%232c7a29'/%3E%3C/svg%3E");
}
.footer a { color: var(--muted); font-size: 0.92rem; }
.footer .legal-note { color: var(--muted); font-size: 0.8rem; margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px;
  text-align: center; color: var(--muted); font-size: 0.82rem;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--card); border: 1.5px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 0.98rem;
  list-style: none; position: relative; padding-right: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 1.5rem; color: var(--leaf);
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] { border-color: var(--leaf); }
.faq-item p { padding: 0 22px 18px; color: var(--muted); font-size: 0.92rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--ink); color: var(--paper); padding: 13px 26px; border-radius: 14px;
  font-weight: 600; font-size: 0.9rem; opacity: 0; transition: all 0.25s ease; z-index: 200;
  max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Błysk na przyciskach ---------- */
.btn-primary::after, .btn-sun::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.45) 48%, transparent 60%);
  background-size: 260% 100%; background-position: 130% 0;
  pointer-events: none;
}
.btn-primary:hover::after, .btn-sun:hover::after { animation: shine 0.7s ease; }
@keyframes shine { from { background-position: 130% 0; } to { background-position: -60% 0; } }

/* ---------- Pasek statystyk ---------- */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 44px; position: relative; z-index: 2;
}
.stat {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 20px 14px; text-align: center; box-shadow: var(--shadow);
}
.stat-num { font-family: var(--font-display); font-size: 2.1rem; color: var(--leaf-dark); line-height: 1.1; }
.stat-label { color: var(--muted); font-size: 0.82rem; margin-top: 4px; }

/* ---------- Baner promocyjny ---------- */
.promo-banner {
  margin: 24px 0; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #2c7a29, #3f9e3b 45%, #b57d16);
  border-top: 4px solid #1e5c1c; border-bottom: 4px solid #1e5c1c;
}
.banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 40px; padding-bottom: 40px; }
.banner-text h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem); text-shadow: 0 3px 0 rgba(20, 50, 18, 0.5); }
.banner-text p { color: rgba(255, 255, 255, 0.85); margin: 8px 0 20px; }
.banner-img { max-height: 110px; width: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4)); animation: logoFloat 5s ease-in-out infinite; }

/* ---------- Galeria ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item {
  position: relative; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden;
  padding: 0; cursor: zoom-in; background: var(--tile); box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.gallery-item:hover { transform: translateY(-4px); border-color: var(--leaf); }
.gallery-item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-zoom {
  position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 15, 8, 0.75); color: #fff; border-radius: 9px;
  opacity: 0; transition: opacity 0.15s ease;
}
.gallery-item:hover .gallery-zoom { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 150; background: rgba(6, 9, 5, 0.88);
  display: none; align-items: center; justify-content: center; flex-direction: column; gap: 14px; padding: 24px;
  backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: min(1100px, 92vw); max-height: 80vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lb-caption { color: #cfd8c8; font-size: 0.9rem; }
.lb-close {
  position: absolute; top: 20px; right: 24px; width: 44px; height: 44px;
  background: rgba(255,255,255,0.1); color: #fff; border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 12px; font-size: 1.2rem; cursor: pointer;
}
.lb-close:hover { background: rgba(255,255,255,0.2); }

/* ---------- Aktualności ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-grid.list { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.news-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--leaf); }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.news-tag {
  font-family: var(--font-display); font-size: 0.85rem; padding: 3px 12px; border-radius: 8px; color: #fff;
}
.tag-update { background: var(--leaf); box-shadow: 0 2px 0 #1e5c1c; }
.tag-event { background: var(--sun); color: #5c3d00; box-shadow: 0 2px 0 #9c6408; }
.tag-info { background: #5b7a9e; box-shadow: 0 2px 0 #3a5470; }
.news-date { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.8rem; }
.news-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.news-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- O nas ---------- */
.story { max-width: 760px; margin: 0 auto; }
.story p { color: var(--muted); margin-bottom: 16px; font-size: 0.98rem; }
.story .highlight { color: var(--ink); font-weight: 600; }
.secret-egg {
  display: inline-flex; vertical-align: middle; background: none; border: none; cursor: pointer;
  padding: 2px; position: relative; transition: transform 0.15s ease;
}
.secret-egg:hover { transform: scale(1.25) rotate(-10deg); }
.burst-leaf {
  position: absolute; left: 50%; top: 50%; pointer-events: none;
  animation: burst 0.85s ease-out forwards;
}
@keyframes burst {
  from { transform: translate(-50%, -50%); opacity: 1; }
  to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(220deg); opacity: 0; }
}
.modal.secret { text-align: center; }
.secret-icon { width: 60px; height: 60px; margin: 0 auto 12px; color: var(--sun); }
.secret-icon .ic { width: 100%; height: 100%; }
.secret-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; }
.secret-code {
  font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.06em;
  background: var(--leaf-soft); color: var(--leaf-dark); border: 2px dashed var(--leaf);
  border-radius: 12px; padding: 12px 20px; cursor: copy; width: 100%;
  transition: transform 0.12s ease;
}
.secret-code:hover { transform: scale(1.03); }

/* ---------- Ostatni kupujący: linia produktu ---------- */
.buyer-chip .bought { font-size: 0.78rem; color: var(--leaf-dark); font-weight: 600; }
.buyer-chip img { width: 42px; height: 42px; }

/* ---------- Social linki w stopce ---------- */
.footer .socials li::before { display: none; }
.social-link { display: inline-flex; align-items: center; gap: 8px; }
.social-link .ic { width: 18px; height: 18px; color: var(--leaf); }

/* ---------- Przycisk "na górę" ---------- */
.scroll-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #57b453, #2c7a29); color: #fff; border: none;
  box-shadow: 0 4px 0 #1e5c1c, 0 10px 22px rgba(0,0,0,0.25);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.scroll-top.show { opacity: 1; transform: none; pointer-events: auto; }
.scroll-top:hover { filter: brightness(1.08); }
.scroll-top .ic { width: 22px; height: 22px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsywność ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 300px; }
  .modes-grid, .about-grid, .products-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .top-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .topbar-inner { gap: 12px; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--card); border-bottom: 1.5px solid var(--line);
    flex-direction: column; padding: 20px 24px; gap: 16px; z-index: 60;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .topbar-cta span { display: none; }
  .topbar-cta { padding: 12px 14px; }
  .section { padding: 44px 0; }
  .modes-grid, .about-grid, .products-grid, .steps-grid, .footer-grid { grid-template-columns: 1fr; }
  .top-grid { grid-template-columns: repeat(2, 1fr); }
  .panel { padding: 26px 20px; }
  .modal { padding: 26px 20px; }
  .pxbranch { width: 46px; height: 22px; }
  .section-head h2 { gap: 10px; }
  .hero { padding: 44px 0 40px; }
  .btn { padding: 13px 20px; }
}

/* ---------- Responsywność nowych sekcji ---------- */
@media (max-width: 960px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .banner-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .stats-strip { gap: 10px; margin-top: 32px; }
  .stat-num { font-size: 1.7rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .scroll-top { right: 14px; bottom: 14px; }
}

/* ---------- Czytelne cyfry (pixelowa "5" bywa zniekształcona) ---------- */
.stat-num, .price, .modal-price, .top-card .amount {
  font-family: var(--font-body); font-weight: 800; letter-spacing: -0.01em;
}
.stat-num { font-size: 1.9rem; }
.price { font-size: 1.25rem; }

/* ---------- Plakietka na produkcie ---------- */
.ribbon {
  position: absolute; top: 14px; right: -34px; z-index: 2;
  transform: rotate(38deg);
  background: linear-gradient(180deg, #ffce55, var(--sun));
  color: #5c3d00; font-family: var(--font-display); font-size: 0.8rem;
  padding: 4px 40px; box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  pointer-events: none;
}

/* ---------- Bezpieczne płatności ---------- */
.payments-strip {
  margin-top: 44px; text-align: center;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.payments-head {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 14px;
}
.payments-head .ic { width: 24px; height: 24px; color: var(--leaf); }
.payments-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pay-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--leaf-soft); color: var(--ink);
  border-radius: 999px; padding: 7px 16px; font-size: 0.85rem; font-weight: 600;
}
.pay-chip .ic { width: 14px; height: 14px; color: var(--leaf); }
.payments-note { color: var(--muted); font-size: 0.8rem; margin-top: 14px; }

/* ---------- Panel administracyjny ---------- */
.admin-info {
  background: var(--sun-soft); border-left: 4px solid var(--sun);
  padding: 16px 20px; border-radius: 10px; font-size: 0.9rem; margin-bottom: 28px;
  color: var(--ink);
}
.admin-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); margin-bottom: 22px;
}
.admin-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.admin-hint { color: var(--muted); font-size: 0.85rem; margin-bottom: 16px; }
.admin-card textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 0.95rem; background: var(--paper); color: var(--ink);
  resize: vertical;
}
.admin-card textarea:focus { border-color: var(--leaf); outline: none; }
.admin-card select {
  padding: 12px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); background: var(--paper); color: var(--ink);
}
.admin-row {
  border: 1.5px dashed var(--line); border-radius: 12px;
  padding: 14px; margin-bottom: 12px; display: grid; gap: 10px;
}
.row-grid { display: grid; gap: 10px; align-items: center; }
.row-grid input { padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font-family: var(--font-body); }
.row-grid input:focus { border-color: var(--leaf); outline: none; }
.row-grid.news { grid-template-columns: 150px 160px 1fr auto; }
.row-grid.gallery { grid-template-columns: 1fr 1fr auto; }
.row-grid.stat { grid-template-columns: 110px 70px 1fr auto; }
.row-grid.product { grid-template-columns: 130px 1fr 110px 180px auto; }
.row-grid.product2 { grid-template-columns: 1fr 1fr; }
.row-grid.product3 { grid-template-columns: 1fr 120px 160px; }
.row-grid.buyer { grid-template-columns: 1fr 1fr 1fr auto; }
.row-btns { display: flex; gap: 6px; }
.mini {
  width: 32px; height: 32px; border-radius: 8px; border: 1.5px solid var(--line);
  background: var(--paper); color: var(--ink); cursor: pointer; font-size: 0.8rem;
}
.mini:hover { border-color: var(--leaf); }
.mini.del:hover { border-color: #c94537; color: #c94537; }
.add-btn { margin-top: 4px; }
.admin-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.admin-preview {
  margin-top: 20px; background: var(--tile); color: #a8d99c; border-radius: 14px;
  padding: 20px; font-size: 0.78rem; overflow-x: auto; max-height: 480px;
  border: 1.5px solid var(--line);
}
@media (max-width: 760px) {
  .row-grid.news, .row-grid.product, .row-grid.buyer, .row-grid.stat,
  .row-grid.gallery, .row-grid.product2, .row-grid.product3 { grid-template-columns: 1fr; }
  .row-btns { justify-content: flex-end; }
}

/* ---------- Panel v2: layout, nawigacja, pasek akcji ---------- */
.admin-layout { display: grid; grid-template-columns: 210px 1fr; gap: 26px; align-items: start; }
.admin-nav {
  position: sticky; top: 92px; display: flex; flex-direction: column; gap: 4px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 12px; box-shadow: var(--shadow);
}
.admin-nav .nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px; color: var(--ink);
  font-weight: 600; font-size: 0.88rem;
}
.admin-nav .nav-item:hover { background: var(--leaf-soft); text-decoration: none; }
.admin-nav .nav-item .ic { width: 17px; height: 17px; color: var(--leaf); }

details.admin-card { padding: 0; }
details.admin-card summary {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 26px; cursor: pointer; list-style: none;
}
details.admin-card summary::-webkit-details-marker { display: none; }
.sec-icon { display: flex; color: var(--leaf); }
.sec-icon .ic { width: 22px; height: 22px; }
.sec-title { font-family: var(--font-display); font-size: 1.3rem; }
.sec-count {
  background: var(--leaf-soft); color: var(--leaf-dark);
  font-weight: 800; font-size: 0.8rem; padding: 2px 10px; border-radius: 999px;
}
.sec-arrow { margin-left: auto; color: var(--muted); transition: transform 0.2s ease; }
details[open] .sec-arrow { transform: rotate(180deg); }
.sec-body { padding: 0 26px 26px; }
.sub-h { font-family: var(--font-display); font-size: 1.05rem; margin: 18px 0 10px; color: var(--leaf-dark); }

.row-prev {
  width: 56px; height: 40px; object-fit: cover; border-radius: 8px;
  border: 1.5px solid var(--line); background: var(--tile); flex-shrink: 0;
}
.row-grid.gallery { grid-template-columns: 56px 1fr 1fr auto; }
.row-grid.product2 { grid-template-columns: 56px 1fr 1fr; }
.filter-input {
  width: 100%; padding: 11px 14px; margin-bottom: 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--ink); font-family: var(--font-body);
}
.filter-input:focus { border-color: var(--leaf); outline: none; }

.draft-banner {
  background: var(--sun-soft); border: 1.5px solid var(--sun); border-radius: 12px;
  padding: 14px 18px; margin-bottom: 20px; font-size: 0.9rem;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.admin-issues {
  background: rgba(201, 69, 55, 0.08); border: 1.5px solid #c94537; border-radius: 12px;
  padding: 16px 20px; margin-top: 20px; font-size: 0.88rem;
}
.admin-issues ul { padding-left: 20px; margin-top: 6px; }
.admin-issues li { margin-bottom: 4px; }

.admin-bar {
  position: sticky; bottom: 0; z-index: 80;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(8px); border-top: 1.5px solid var(--line);
  padding: 12px 0;
}
.admin-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.draft-status { color: var(--muted); font-size: 0.85rem; }
.draft-status.dirty { color: var(--sun); font-weight: 700; }
.admin-bar-btns { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-nav { position: static; flex-direction: row; overflow-x: auto; }
  .admin-nav .nav-item span { white-space: nowrap; }
  .row-grid.gallery, .row-grid.product2 { grid-template-columns: 1fr; }
  .row-prev { width: 100%; height: 90px; }
  .admin-bar-inner { justify-content: center; }
  .draft-status { width: 100%; text-align: center; }
}

/* ---------- Ekipa serwera ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.staff-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.staff-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--rank-color, var(--leaf));
}
.staff-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px var(--glow-green); }
.staff-rank-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: color-mix(in srgb, var(--rank-color, var(--leaf)) 16%, transparent);
  color: var(--rank-color, var(--leaf));
  font-family: var(--font-display); font-size: 0.85rem;
  padding: 4px 12px; border-radius: 8px; margin-bottom: 14px;
}
.staff-rank-tag .ic { width: 14px; height: 14px; }
.staff-avatar { width: 72px; height: 72px; border-radius: 16px; margin: 0 auto 12px; image-rendering: pixelated; border: 2px solid var(--line); }
.staff-nick { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 8px; }
.staff-desc { color: var(--muted); font-size: 0.88rem; }
.staff-discord { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--muted); font-size: 0.82rem; }
.staff-discord .ic { width: 14px; height: 14px; color: var(--leaf); }

.staff-card.rank-owner    { --rank-color: var(--sun); }
.staff-card.rank-admin    { --rank-color: var(--leaf); }
.staff-card.rank-mod      { --rank-color: #4a90e2; }
.staff-card.rank-builder  { --rank-color: #a06bd6; }
.staff-card.rank-support  { --rank-color: #8b96a3; }

@media (max-width: 960px) { .staff-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .staff-grid { grid-template-columns: 1fr; } }

/* ---------- Panel: wiersze ekipy ---------- */
.row-grid.staff { grid-template-columns: 44px 1fr 160px 1fr auto; }
.row-prev.round { border-radius: 10px; }
@media (max-width: 760px) { .row-grid.staff { grid-template-columns: 1fr; } }
