/* ─── Wspólna baza: tokeny + reset + body ─────────────────────
   Ładowana na KAŻDEJ stronie (index.html i admin/) przed
   style.css / admin.css — te pliki polegają na zmiennych :root
   i resecie zdefiniowanych tutaj. */

[hidden] { display: none !important; }

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --color-bg:       #0d0d0d;
  --color-surface:  #141414;
  --color-accent:   #ffffff;
  --color-accent2:  #c0392b;
  --color-text:     #e8e8e8;
  --color-muted:    #555555;
  --color-border:   #272727;

  --font-display: 'Oswald', sans-serif;
  --font-body:    'Lato', sans-serif;

  --radius:    8px;
  --radius-lg: 14px;
  --transition: 0.2s ease;
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ─── Base ───────────────────────────────────────────────── */
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: clip;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.055;
  pointer-events: none;
  z-index: 9999;
}
