/* ====== styles.css — pełna wersja z poprawkami i nową sekcją sklepu ====== */

/* ROOT variables */
:root{
  --werch-menu-width: 300px;
  --header-z: 10000;
  --overlay-z: 9990;

  --shop-dark: #0f3d22;
  --shop-mid:  #1aa66f;
  --shop-light:#8ff1c2;
  --link-bg:   #f6f6f6;
  --accent:    #ff8c42;
  --panel-maxw: 640px;

  --toast-bg: rgba(3,48,24,0.95);
  --toast-color: #fff;

  --header-height-desktop: 72px;
  /* --header-height będzie ustawiane dynamicznie z JS; fallback do --header-height-desktop */
  --header-height: var(--header-height-desktop);

  --discord-blurple: #5865F2; /* discord color */

  --divider-w: calc(100% - 30px);
  --divider-maxw: 1100px;
}

/* RESET */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: #ffffff;
  color: #111;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ----------------------------------------------------------------------------- */
/* HEADER / MENU / BASE */
/* ----------------------------------------------------------------------------- */

.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: relative;
  z-index: var(--header-z);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand { display:inline-flex; align-items:center; text-decoration:none; }
.logo { height:56px; width:auto; display:block; image-rendering:pixelated; }

.header-center { justify-content: flex-start; display:flex; align-items:center; }
.desktop-only { display: none; }

/* BURGER */
.burger {
  width:56px;
  height:56px;
  padding:0;
  border:none;
  background:transparent;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  overflow:hidden;
  box-shadow: 0 2px 0 rgba(0,0,0,0.2), 0 0 0 2px rgba(0,0,0,0.04) inset;
  border-radius:4px;
}
.bar {
  width:30px;
  height:5px;
  margin:3px 0;
  background:#0b0b0b;
  box-shadow: 0 2px 0 rgba(0,0,0,0.15);
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), opacity 180ms ease;
  border-radius:1px;
  image-rendering:pixelated;
}
.burger.is-open .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open .bar:nth-child(2) { opacity: 0; transform: scaleX(0.85); }
.burger.is-open .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== OVERLAY (mobile-first) ===== */
/* WAŻNE: ustawiamy padding-top globalnie na overlay tak, aby zawartość
   zaczynała się poniżej headera. JS aktualizuje --header-height przed otwarciem. */
.overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start; /* umieszczamy zawartość od góry */
  justify-content: center;
  z-index: var(--overlay-z);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 260ms ease, visibility 260ms ease;
  -webkit-tap-highlight-color: transparent;

  /* TU: push overlay content below header (fallback do desktop height) */
  padding-top: calc(var(--header-height, var(--header-height-desktop)));
}
.overlay.open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  background: rgba(0,0,0,0.12);
}
.overlay-inner {
  width: 100%;
  max-height: 100vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  transform: translateY(-6%);
  opacity: 0;
  transition: transform 360ms cubic-bezier(.2,.9,.2,1), opacity 260ms ease;
  background: transparent;
  will-change: transform, opacity;
}
.overlay.open .overlay-inner {
  transform: translateY(0);
  opacity: 1;
}

/* MENU CONTENT (mobile styles) */
.menu-top {
  width: 100%;
  background: #ffffff;
  padding: 28px 20px 28px;
  display:flex;
  justify-content:center;
  align-items:center;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.menu-graphic {
  width: min(var(--werch-menu-width), 92%);
  height: auto;
  display:block;
  image-rendering: pixelated;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.menu-body {
  width: 100%;
  background: #fff;
  padding: 20px 20px 12px;
  display:flex;
  flex-direction:column;
  gap: 28px;
  align-items:center;
}
.menu-body > .btn-shop,
.menu-body > .menu-list {
  width: 92%;
  max-width: var(--panel-maxw);
  margin: 0 auto;
}

/* SKLEP (mobile overlay) */
.btn-shop {
  display:block;
  text-decoration: none;
  padding: 20px 24px;
  border-radius: 6px;
  font-weight: 900;
  letter-spacing: 1px;
  text-align:center;
  position: relative;
  overflow: visible;
  color: #072b1a;
  z-index: 2;
  transform-style: preserve-3d;
  transition: transform 180ms cubic-bezier(.2,.9,.2,1), box-shadow 180ms ease;
  font-size: 22px;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--shop-mid), var(--shop-light));
  border: 4px solid var(--shop-dark);
  box-shadow:
    0 12px 0 rgba(3,48,24,0.65),
    0 2px 0 rgba(255,255,255,0.06) inset;
  image-rendering: pixelated;
}
.btn-shop::before {
  content: "";
  position: absolute;
  left: -8px;
  top: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  border: 6px solid var(--shop-dark);
  box-sizing: border-box;
  pointer-events: none;
  z-index: 1;
  border-radius: 4px;
  image-rendering: pixelated;
}
.btn-shop::after {
  content: "";
  position: absolute;
  top: 6%;
  left: -10%;
  width: 120%;
  height: 18%;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
  transform: rotate(-6deg);
  pointer-events:none;
  z-index: 3;
}
.btn-shop.pulse { animation: shopPulse 2000ms infinite; }
@keyframes shopPulse {
  0% { transform: translateY(0) scale(1); box-shadow: 0 12px 0 rgba(3,48,24,0.65); }
  50% { transform: translateY(-4px) scale(1.01); box-shadow: 0 18px 30px rgba(3,48,24,0.45); }
  100% { transform: translateY(0) scale(1); box-shadow: 0 12px 0 rgba(3,48,24,0.65); }
}
.btn-shop:hover { transform: translateY(-6px) scale(1.02); }

/* menu links (mobile) */
.menu-list {
  list-style: none;
  display:flex;
  flex-direction:column;
  gap: 20px;
  align-items:stretch;
  margin: 0;
  padding: 0;
}
.menu-link {
  display:block;
  width: 100%;
  padding: 18px 16px;
  border-radius: 6px;
  text-decoration:none;
  background: linear-gradient(180deg, var(--link-bg), #fff);
  color: #111;
  font-weight: 900;
  text-align:center;
  font-size: 20px;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
  position: relative;
  border: 3px solid rgba(0,0,0,0.12);
  box-shadow: 0 10px 0 rgba(0,0,0,0.06);
  image-rendering: pixelated;
}
.menu-link::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 6px;
  bottom: 6px;
  border: 2px solid rgba(0,0,0,0.03);
  pointer-events: none;
  border-radius: 4px;
  z-index: 0;
  image-rendering: pixelated;
}
.menu-link:hover, .menu-link:focus {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.09);
  outline: none;
}

/* socials (mobile) */
.menu-footer {
  margin-top: 10px;
  padding: 16px 20px 42px;
  background: linear-gradient(180deg,#ffffff,#fbfbfb);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  border-top:1px solid rgba(0,0,0,0.03);
}
.socials-title {
  font-size: 18px;
  font-weight:900;
  color: transparent;
  background: linear-gradient(90deg, #ff8c42, #ffd166);
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing:1px;
  animation: socialTitleShift 6s ease-in-out infinite alternate;
  text-shadow: 0 2px 0 rgba(0,0,0,0.03);
}
@keyframes socialTitleShift {
  0% { filter: hue-rotate(0deg) saturate(100%); opacity: 0.95; }
  100% { filter: hue-rotate(10deg) saturate(110%); opacity: 1; }
}
.socials {
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
}
.social {
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  padding:10px 14px;
  border-radius:8px;
  background: linear-gradient(180deg,#fff,#f6f6ff);
  color:#111;
  font-weight:800;
  box-shadow: 0 10px 0 rgba(0,0,0,0.05);
  transition: transform 160ms ease, box-shadow 160ms ease;
  min-width: 140px;
}
.social-icon {
  width: 44px;
  height: 44px;
  display: inline-block;
  flex-shrink: 0;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: pixelated;
}
.social-text {
  font-size: 16px;
  line-height: 1;
  color: #111;
  display:inline-block;
  vertical-align:middle;
  margin-left: 6px;
  text-align: left;
}
.social:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* invisible close button for keyboard access */
.overlay-close {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
  .container.header-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
  }
  .header-left { display: none; }
  .header-center { justify-content: flex-start; }

  /* na mobile chcemy, by overlay miał tło przezroczyste (tak jak wcześniej) */
  .overlay { background: transparent; }
  .overlay.open { background: transparent; }

  .overlay-inner {
    background: #fff;
    min-height: 100vh;
    height: 100vh;
    overflow: auto;
    border-radius: 0;
  }

  .menu-top { padding-top: 26px; padding-bottom: 40px; border-bottom: none; }
  .menu-graphic { border-radius: 0; box-shadow: none; }

  .menu-body { padding-bottom: 14px; gap: 22px; }
  .menu-body > .btn-shop,
  .menu-body > .menu-list { width: calc(100% - 40px); max-width: var(--panel-maxw); }

  .btn-shop { font-size: 20px; padding: 18px 20px; border-radius: 8px; }
  .btn-shop::before { left: -6px; top: -6px; width: calc(100% + 12px); height: calc(100% + 12px); border-width: 4px; }

  .menu-list { gap: 16px; }
  .menu-link { padding: 16px 14px; font-size: 18px; }

  .menu-footer { padding-bottom: 72px; margin-top: 8px; }

  .social-icon { width: 38px; height: 38px; }
  .social-text { font-size: 15px; }

  /* === WAŻNE: na mobile nie chcemy skalować tła do kontenera ekranu (contain).
     Ustawiamy background-size: auto aby tło miało naturalny rozmiar (jak na PC). === */
  #main {
    background-image: url('../images/werch-background.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: auto; /* zamiast contain */
    background-attachment: scroll;
    padding-top: 0;
    min-height: calc(100vh - var(--header-height));
  }
}

/* ===== DESKTOP OVERRIDES ===== */
@media (min-width: 769px) {
  .overlay { background: rgba(0,0,0,0.35); /* ciemniejsze tło na desktopie */ }
  .overlay-inner {
    width: 820px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  }
  .menu-top { padding: 28px; }
  .menu-body { padding: 22px 28px 28px; gap: 28px; }
  .menu-graphic { border-radius: 8px; }

  .menu-body > .btn-shop,
  .menu-body > .menu-list { width: 92%; max-width: var(--panel-maxw); }

  .social-icon { width: 48px; height: 48px; }
  .social-text { font-size: 17px; }

  .site-header {
    border-bottom: none;
  }

  .container.header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 0 28px;
    min-height: var(--header-height-desktop);
    height: auto;
  }

  .header-left,
  .header-center,
  .header-right {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header-left { justify-content: flex-end; padding-right: 6px; }
  .header-center { justify-content: center; }
  .header-right { justify-content: flex-start; padding-left: 6px; }

  .desktop-only { display: inline-flex; align-items: center; }
  .header-right .burger { display: none; }

  .header-left,
  .header-center,
  .header-right,
  .container.header-grid {
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  }

  .header-link {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.4px;
    color: #111;
    padding: 8px 12px;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 220ms cubic-bezier(.2,.9,.2,1), color 180ms ease;
  }

  .header-left .header-link,
  .header-right .header-link {
    margin-left: 6px;
    margin-right: 6px;
  }

  /* Stylizowany przycisk SKLEP w headerze (desktop) */
  .header-shop {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(180deg, var(--shop-mid), var(--shop-light));
    border: 4px solid var(--shop-dark);
    color: #072b1a;
    box-shadow: 0 10px 0 rgba(3,48,24,0.6);
    transition: transform 180ms ease, box-shadow 180ms ease;
    z-index: 12000;
    text-decoration: none;
    font-size: 14px;
    position: relative;
  }
  .header-shop::before {
    /* delikatna ramka (opcjonalna) */
    content: "";
    position: absolute;
    left: -6px;
    top: -6px;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    border: 4px solid rgba(5,45,22,0.6);
    border-radius: 8px;
    pointer-events: none;
    z-index: -1;
  }
  .header-shop.pulse { animation: shopPulse 2000ms infinite; }
  .header-shop:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(3,48,24,0.45); }

  .header-link:hover { transform: translateY(-4px); }

  /* Na desktop dodatkowo dodajemy drobną separację (8px) od headera - overlay już jest przesunięte padding-top'em */
  .overlay.open .overlay-inner {
    margin-top: 8px;
  }

  @media (min-width: 1200px) {
    .container.header-grid { padding: 0 40px; }
    .header-left .header-shop,
    .header-left .header-link,
    .header-right .header-link { min-width: 120px; }
    .header-center .logo { max-height: calc(var(--header-height-desktop) - 8px); }
  }

  /* === przywrócenie tła dla main na desktop (to rozwiązuje brak obrazu tła) === */
  #main {
    background-image: url('../images/werch-background.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    background-attachment: scroll;
    min-height: calc(100vh - var(--header-height));
    padding-top: 0;
  }
}

/* ------------------------------------------------------------------ */
/* HERO, DIVIDER, PRZYCISKI */
/* ------------------------------------------------------------------ */

.hero {
  width: 100%;
  padding: 18px 16px 8px;
  display:flex;
  justify-content:center;
  align-items:center;
  background: transparent;
  text-align: center;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 920px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 22px;
  padding: 8px;
}

.hero-float {
  width: min(82vw, 420px);
  max-width: 420px;
  height: auto;
  display:block;
  margin-top: 20px;
  margin-bottom: 28px;
  image-rendering: pixelated;
  transform-origin: center;
  animation: heroFloat 4200ms ease-in-out infinite;
  will-change: transform;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}
@keyframes heroFloat {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.hero-heading {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  text-transform: uppercase;
  color: #111;
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0.6px;
  padding: 6px 10px;
  position: relative;
  z-index: 2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}
.hero-top {
  font-size: 38px;
  font-weight: 800;
}
.hero-bottom {
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}

.hero-divider {
  width: min(var(--divider-w), var(--divider-maxw));
  max-width: var(--divider-maxw);
  height: 12px;
  border-radius: 0px;
  background: linear-gradient(90deg, #D62828, #FF4C4C);
  box-shadow: 0 6px 0 rgba(0,0,0,0.03);
  margin-top: 6px;
  margin-bottom: 20px;
width: 500px;
}

.hero-cta-wrap { width: 100%; display:flex; flex-direction:column; align-items:center; gap:10px; }

/* pixel-ish wrapper */
.pixel-cta {
  --pixel-border: 7px;
  position: relative;
  border-radius: 10px;
  overflow: visible;
}

/* subtle edge */
.pixel-cta::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--pixel-border));
  top: calc(-1 * var(--pixel-border));
  right: calc(-1 * var(--pixel-border));
  bottom: calc(-1 * var(--pixel-border));
  border-radius: 10px;
  z-index: 0;
  pointer-events: none;
  box-shadow:
    -7px 0 0 rgba(0,0,0,0.10),
    7px 0 0 rgba(0,0,0,0.06),
    0 -7px 0 rgba(0,0,0,0.06),
    0 7px 0 rgba(0,0,0,0.04);
  image-rendering: pixelated;
}

/* Buttons */
.copy-cta {
  width: calc( min(var(--divider-w), var(--divider-maxw)) - 40px );
  max-width: calc(var(--divider-maxw) - 40px);
  height: 72px;
  padding: 0 26px;
  border-radius: 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  position:relative;
  z-index:2;
  overflow:visible;
  cursor:pointer;
  background: linear-gradient(180deg,#FFC017,#FFD37F);
  border: 4px solid var(--shop-dark);
  box-shadow: 0 10px 0 rgba(3,48,24,0.55);
  color:#2B1302;
  font-weight:900;
  font-size:20px;
  letter-spacing:0.6px;
  text-transform:uppercase;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.copy-cta, .copy-cta * { text-decoration: none !important; }

.copy-cta .btn-side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 60%;
  display:block;
  z-index:3;
  pointer-events: none;
  background: transparent;
}

.copy-cta .btn-left::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 46px;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  background: linear-gradient(180deg,#FFC017,#FFD37F);
  box-shadow: 0 4px 0 rgba(0,0,0,0.08);
  border-radius: 4px;
  image-rendering: pixelated;
}
.copy-cta .btn-right::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%) scaleX(-1);
  width: 18px;
  height: 46px;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  background: linear-gradient(180deg,#FFC017,#FFD37F);
  box-shadow: 0 4px 0 rgba(0,0,0,0.08);
  border-radius: 4px;
  image-rendering: pixelated;
}

.btn-mid-mc {
  font-family: 'Press Start 2P', cursive;
  font-size: 18px;
  color: #ffffff;
  z-index:4;
  text-transform:uppercase;
  letter-spacing:1px;
}

/* copy pressed/active animation */
.copy-cta.copied {
  animation: copyPress 420ms ease;
}
@keyframes copyPress {
  0% { transform: translateY(0); box-shadow: 0 10px 0 rgba(3,48,24,0.55); }
  40% { transform: translateY(6px) scale(0.995); box-shadow: 0 6px 0 rgba(3,48,24,0.40); }
  100% { transform: translateY(0); box-shadow: 0 10px 0 rgba(3,48,24,0.55); }
}
.copy-cta:active { transform: translateY(4px); box-shadow: 0 6px 0 rgba(3,48,24,0.45); }

.copy-label {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 900;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display:flex;
  align-items:center;
  gap:8px;
}
.copy-arrow { font-size: 14px; transform: translateY(-2px); display:inline-block; color:#222; }

.copy-cta.discord-cta {
  background: linear-gradient(180deg,var(--discord-blurple), #6D7CFF);
  border: 3px solid rgba(88,101,242,0.9);
  box-shadow: 0 8px 0 rgba(30,30,60,0.08);
  color: #fff;
  text-decoration: none;
}
.copy-cta.discord-cta .btn-left::after,
.copy-cta.discord-cta .btn-right::after {
  background: linear-gradient(180deg,#6F7BFF,#4B56E8);
  box-shadow: 0 4px 0 rgba(0,0,0,0.06);
}
.copy-cta.discord-cta .cta-icon {
  width: 30px;
  height: 30px;
  border-radius: 3px;
  background: rgba(255,255,255,1);
margin-right: 2px;
}

/* Toast */
.copy-toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  bottom: 14px;
  background: var(--toast-bg);
  color: var(--toast-color);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease, transform 240ms ease;
  z-index: 11000;
}

/* mobile tweaks */
@media (max-width: 480px) {
  .hero-float { width: min(90vw, 360px); }
  .hero-top { font-size: 14px; }
  .hero-bottom { font-size: 20px; }
  .hero-divider { width: min(var(--divider-w), var(--divider-maxw)); height: 6px; }
  .copy-cta { height: 72px; font-size: 18px; }
  .copy-cta .btn-side { width: 14px; }
  .copy-cta .btn-mid { font-size: 18px; color:#2B1302; text-shadow:none;}
  .btn-mid-mc { font-size: 14px; }
  .copy-label { font-size: 12px; }
  .copy-toast { bottom: 8px; }
}

/* desktop adjustments + override divider width */
@media (min-width: 769px) {
  :root {
    --divider-w: 48%;
    --divider-maxw: 1100px;
  }

  .hero { padding: 36px 28px 24px; }
  .hero-inner { gap: 28px; }
  .hero-float {
    width: min(56vw, 640px);
    max-width: 640px;
    margin-top: 20px;
    margin-bottom: 28px;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.12);
  }
  .hero-top { font-size: 20px; }
  .hero-bottom { font-size: 40px; }
  .hero-divider { width: min(var(--divider-w), var(--divider-maxw)); height: 8px; }
  .copy-cta { height: 85px; font-size: 24px; max-width: calc(var(--divider-maxw) - 40px); }
  .copy-cta.discord-cta { height: 78px; font-size: 18px; }
  .copy-cta .btn-side { width: 22px; }
  .copy-cta .btn-mid { font-size: 24px; }
  .btn-mid-mc { font-size: 20px; }
}

/* ------------------------------------------------------------------ */
/* NOWE: Sekcja "ZOBACZ SKLEP" + karta notes + pomarańczowe tło       */
/* ------------------------------------------------------------------ */

.shop-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 50px;
  padding: 0;
}

.shop-section-inner {
  width: 100%;
  max-width: 920px;
  padding: 0 16px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* full-bleed promo background */
.promo-bg {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: linear-gradient(180deg,#FFB022,#FFD166);
  padding-top: 60px;
  padding-bottom: 60px;
  display:flex;
  justify-content:center;
  align-items:center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  z-index: 1;
}

.promo-bg .promo-inner {
  width: 100%;
  max-width: 920px;
  padding: 0 16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 28px;
  box-sizing: border-box;
}

.shop-title-wrap {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}

.shop-title {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 40px;
  letter-spacing: 0.6px;
  color: #111;
  margin: 0;
  padding: 0 8px;
  text-transform: uppercase;
}

.shop-divider {
  width: 320px;
  height: 12px;
  border-radius: 0;
  background: linear-gradient(90deg, #D62828, #FF4C4C);
  box-shadow: 0 4px 0 rgba(0,0,0,0.03);
  margin-top: 0;
  padding: 0 8px;
  display: block;
}

/* NOTE CARD */
.note-card {
  width: min(520px, calc(min(var(--divider-w), var(--divider-maxw)) - 80px));
  max-width: 520px;
  min-height: 420px;
  background: #F5EAD6;
  border-radius: 0;
  padding: 22px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 28px;
  box-shadow: 12px 6px 32px rgba(210,180,140,0.16);
  border: 1px solid rgba(0,0,0,0.03);
  box-sizing: border-box;
}

.note-header {
  width: 100%;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 22px;
  padding: 6px 0;
  color: #111;
  letter-spacing: 0.6px;
  margin-bottom: 20px;
}

.note-image-wrap {
  width: 100%;
  display:flex;
  justify-content:center;
  margin-bottom: 30px;
}
.note-image {
  width: 92%;
  max-width: 420px;
  height: auto;
  border-radius: 6px;
  image-rendering: pixelated;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  background: #fff;
}

.btn-shop.short {
  width: 220px;
  padding: 14px 18px;
  font-size: 18px;
  border-radius: 8px;
  box-shadow: 0 12px 0 rgba(3,48,24,0.65);
  border: 4px solid rgba(5,45,22,0.95);
  background: linear-gradient(180deg, #19b76e, #0f6b42);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: center;
  display: inline-block;
  transition: transform 200ms ease, box-shadow 200ms ease;
  margin-bottom: 30px;
}
.btn-shop.short:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 18px 30px rgba(3,48,24,0.45); }
.btn-shop.short.pulse { animation: shopPulse 1800ms infinite; }

/* ====== styles.css — pełna wersja z poprawkami i nową sekcją sklepu ====== */
/* ROOT variables */
:root{
  --werch-menu-width: 300px;
  --header-z: 10000;
  --overlay-z: 9990;
  --shop-dark: #0f3d22;
  --shop-mid: #1aa66f;
  --shop-light:#8ff1c2;
  --link-bg: #f6f6f6;
  --accent: #ff8c42;
  --panel-maxw: 640px;
  --toast-bg: rgba(3,48,24,0.95);
  --toast-color: #fff;
  --header-height-desktop: 72px;
  /* --header-height będzie ustawiane dynamicznie z JS; fallback do --header-height-desktop */
  --header-height: var(--header-height-desktop);
  --discord-blurple: #5865F2; /* discord color */
  --divider-w: calc(100% - 30px);
  --divider-maxw: 1100px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: #ffffff; color: #111; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ----------------------------------------------------------------------------- */
/* (....) - cała dotychczasowa zawartość Twojego styles.css bez zmian */
/* ----------------------------------------------------------------------------- */

/* ===== DODANE: STYLES DLA STOPKI =====
   Umieszczone na końcu pliku aby nie kolidować z wcześniejszymi regułami.
*/
.site-footer {
  background: #ffffff;
  padding: 28px 0 28px;
  box-sizing: border-box;
  width: 100%;
  /* nie dodajemy margin-top aby zaczynała się bezpośrednio po .promo-bg */
  z-index: 2;
}

.footer-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-sizing: border-box;
}

/* wyśrodkowane zdjęcie Werch-menu.png */
.footer-graphic {
  width: min(var(--werch-menu-width), 220px);
  height: auto;
  display: block;
  image-rendering: pixelated;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.04);
margin-bottom: 30px;
margin-top: 30px;
}

/* bloki z nagłówkami i linkami */
.footer-block {
  width: 100%;
  display:flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* nagłówek "SZYBKI DOSTĘP" i "SOCIAL MEDIA" - czcionka minecraft */
.minecraft-font {
  font-family: 'Press Start 2P', cursive;
  font-size: 15px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #111;
margin-top: 20px;
}

/* używamy tego samego czerwonego dividera (shop-divider) — opcjonalnie ograniczamy szerokość */
.footer-divider {
  width: 210px;
height: 6px;
margin-bottom: 10px;
}

/* linki w stopce - ułożone w kolumnie, wyśrodkowane, bez pogrubienia */
.footer-links {
  display:flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
font-family: 'Poppins', cursive;

}

/* pojedynczy link */
.footer-link {
  text-decoration: none;
  font-weight: 300; /* nie pogrubione */
  color: #111;
  font-size: 18px;
  line-height: 1;
  padding: 8px 6px;
  display: block;
  transition: transform 160ms ease, color 160ms ease;
}

/* link "Sklep" — emerald kolor, bez obramowania */
.footer-link.shop-link {
  color: var(--shop-mid);
}

/* hover: delikatne podniesienie */
.footer-link:hover, .footer-link:focus {
  transform: translateY(-4px);
  outline: none;
}

/* separator jasnoszaro-biała z odstępem 15px od krawędzi ekranu.
   Ten element jest full-width, ale z marginesem wewnętrznym 15px */
.footer-sep {
  width: calc(100% - 80px); /* 15px odstęp z każdej strony */
  height: 3px;
  background: linear-gradient(#f2f2f2);
  margin: 18px 15px;
  border-radius: 1px;
}

/* copyright & disclaimers */
.footer-copy {
  width: 100%;
  max-width: 820px;
  text-align: center;
  display:flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  padding: 0 6px;
  box-sizing: border-box;
}

.footer-copy .copyright {
  font-size: 13px;
  color: #6b6b6b;
  font-weight: 600;
}

.footer-copy .disclaimer-pl,
.footer-copy .disclaimer-en {
  font-size: 12px;
  color: #888;
}

/* Designed by */
.designed-wow{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:8px 16px;
  border-radius:18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  box-shadow: 0 14px 40px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
  transform: translateZ(0);
  cursor: default;
  user-select: none;
  will-change: transform, box-shadow;
  transition: transform 300ms cubic-bezier(.2,.9,.2,1), box-shadow 300ms ease;
}

/* float animation */
@keyframes designedFloat {
  0% { transform: translateY(0) }
  50% { transform: translateY(-6px) }
  100% { transform: translateY(0) }
}
.designed-wow { animation: designedFloat 6s ease-in-out infinite; }

.designer-mark{
  width:28px;
  height:28px;
  fill: url(#grad-designer) ; /* fallback overwritten below */
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.18));
  transform-origin: center;
  transition: transform 300ms ease;
  opacity: 0.98;
}
.designer-mark path { fill: #FFD166; }

.designed-text{
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.6px;
  color: #fff;
  line-height:1;
  text-transform: none;
  position: relative;
  background: linear-gradient(90deg, #ffffff, #ffd166, #ff8c42);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 1px 0 rgba(0,0,0,0.06),
    0 6px 18px rgba(255,140,66,0.06);
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.designed-text .designer-name{
  font-weight:700;
  -webkit-text-stroke: 0.2px rgba(0,0,0,0.06);
  background: linear-gradient(90deg,#ffd166,#ff8c42);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.designed-wow::after{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  bottom: -8px;
  height:4px;
  width: 72%;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.15), rgba(255,140,66,0.9));
  box-shadow: 0 6px 18px rgba(255,140,66,0.08);
  transition: transform 420ms cubic-bezier(.2,.9,.2,1);
  transform-origin: center;
}

.designed-wow:hover{
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 68px rgba(0,0,0,0.16), inset 0 1px 0 rgba(255,255,255,0.02);
}
.designed-wow:hover::after{
  transform: translateX(-50%) scaleX(1);
}

@keyframes sparkRotate {
  0% { transform: rotate(0deg) translateY(0) }
  50% { transform: rotate(6deg) translateY(-2px) }
  100% { transform: rotate(0deg) translateY(0) }
}
.designer-mark { animation: sparkRotate 4200ms ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .designed-wow, .designer-mark { animation: none !important; transition: none !important; }
  .designed-wow:hover { transform: none; }
  .designed-wow::after { transform: translateX(-50%) scaleX(1); }
}

/* RESPONSYWNOŚĆ: drobne dopasowania */
@media (max-width: 480px) {
  .footer-inner { gap: 12px; padding: 0 12px; }
  .footer-graphic { width: min(var(--werch-menu-width), 180px); }
  .minecraft-font { font-size: 10px; }
  .footer-link { font-size: 13px; }
  .footer-sep { margin: 12px 15px; }
  .footer-copy .copyright { font-size: 12px; }
}
@media (min-width: 769px) {
  .footer-inner { gap: 20px; padding: 0 20px; }
  .footer-graphic { width: min(var(--werch-menu-width), 260px); }
  .minecraft-font { font-size: 12px; }
  .footer-link { font-size: 16px; }
  .footer-copy .copyright { font-size: 13px; }
}

/* ==== DODATKOWE NADPISANIA MOBILNE (ważne poprawki) ==== */

/* Bardziej agresywne, bezpieczne zmniejszenia na bardzo małych ekranach.
   Te reguły rozwiązują problemy których opisałeś: zbyt duże menu, footer i burger. */
@media (max-width: 420px) {
  /* zmniejszamy bazową szerokość grafiki werch-menu */
  :root {
    --werch-menu-width: 220px;
  }

  /* header / burger / logo */
  .logo { height: 44px; } /* mniejsze logo na male telefony */
  .burger {
    width: 44px;
    height: 44px;
    border-radius: 6px;
  }
  .bar {
    width: 24px;
    height: 4px;
    margin: 2px 0;
  }

  /* overlay / menu graphic */
  .menu-top { padding: 18px 16px 18px; }
  .menu-graphic {
    width: min(var(--werch-menu-width), 86%);
    max-width: 220px;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  }

  /* menu body - przyciski i linki */
  .menu-body { gap: 16px; padding: 16px 14px 12px; }
  .menu-body > .btn-shop,
  .menu-body > .menu-list { width: calc(100% - 28px); }

  .btn-shop {
    font-size: 16px !important;
    padding: 12px 14px !important;
    border-radius: 8px;
    border-width: 3px;
  }
  .btn-shop::before { left: -4px; top: -4px; width: calc(100% + 8px); height: calc(100% + 8px); border-width: 3px; }

  .menu-list { gap: 12px; }
  .menu-link {
    padding: 12px 12px;
    font-size: 16px;
    border-radius: 8px;
    border-width: 2px;
  }

  /* socials w menu - mniejsze przyciski */
  .menu-footer { padding: 12px 14px 40px; margin-top: 6px; }
  .socials { gap: 12px; }
  .social { min-width: 110px; padding: 8px 10px; }
  .social-icon { width: 30px; height: 30px; }
  .social-text { font-size: 13px; margin-left: 6px; }

  /* HERO - mniejsza grafika aby nie przytłaczała nagłówka */
  .hero-float { width: min(72vw, 300px); max-width: 300px; margin-top: 12px; margin-bottom: 16px; }
  .hero-top { font-size: 18px; }   /* nieco większy niż wcześniejsze agresywne 14px — chcemy czytelny nagłówek */
  .hero-bottom { font-size: 22px; }
  .hero-divider { height: 6px; margin-bottom: 12px; }

  /* CTA - mniejsze, bardziej kompaktowe */
  .copy-cta { height: 60px; font-size: 16px; padding: 0 18px; border-radius: 12px; }
  .copy-cta .btn-side { width: 12px; }
  .copy-cta .btn-mid { font-size: 16px; }
  .btn-mid-mc { font-size: 13px; }
  .copy-label { font-size: 11px; }

  /* NOTE card / promo - mniejsze marginesy */
  .promo-bg { padding-top: 36px; padding-bottom: 36px; }
  .note-card { min-height: auto; padding: 16px; gap: 18px; width: calc(100% - 32px); max-width: 420px; }
  .note-image { max-width: 320px; }

  /* FOOTER - lżejsza stopka na telefonie */
  .site-footer { padding: 18px 0 14px; }
  .footer-inner { gap: 10px; padding: 0 12px; align-items: center; }
  .footer-graphic { width: min(var(--werch-menu-width), 150px); margin-top: 14px; margin-bottom: 16px; }
  .minecraft-font { font-size: 10px; margin-top: 25px; }
  .footer-divider { width: 160px; height: 5px; margin-bottom: 8px; }
  .footer-link { font-size: 14px; padding: 6px 4px; }
  .footer-sep { margin: 12px 12px; width: calc(100% - 40px); }

  .footer-copy .copyright { font-size: 12px; }
  .footer-copy .disclaimer-pl, .footer-copy .disclaimer-en { font-size: 11px; }

  /* reduce big shadows that cause impression of 'too large' */
  .btn-shop, .note-card, .footer-graphic, .hero-float { box-shadow: 0 8px 20px rgba(0,0,0,0.06); }

  /* dodatkowe drobne usprawnienia */
  .overlay-inner { padding-bottom: 8px; }
}

/* dodatkowe minimalne dopasowanie na bardzo wąskich ekranach (np. 320px) */
@media (max-width: 360px) {
  :root { --werch-menu-width: 200px; }
  .menu-graphic { width: min(var(--werch-menu-width), 90%); max-width: 200px; }
  .hero-float { width: min(76vw, 260px); max-width: 260px; }
  .hero-top { font-size: 17px; }
  .hero-bottom { font-size: 20px; }
  .logo { height: 40px; }
  .burger { width: 40px; height: 40px; }
  .bar { width: 22px; height: 3px; }
  .footer-graphic { width: min(var(--werch-menu-width), 140px); }
  .menu-link { font-size: 15px; padding: 10px 10px; }
  .btn-shop { font-size: 15px; padding: 10px 12px; }
}

/* ===== EFEKT PODKREŚLENIA JAK W PRZYKŁADZIE ===== */
.hover-underline {
  position: relative;
  overflow: hidden;
}

.hover-underline::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #8a2be2, #ff00ff);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.hover-underline:hover::after {
  width: 70%;
}
/* ===== SCROLL ANIMATIONS (PRO) ===== */
.reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}

.reveal.reveal-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* warianty */
.reveal-left {
  transform: translateX(-60px);
}
.reveal-right {
  transform: translateX(60px);
}
.reveal-zoom {
  transform: scale(0.9);
}
/* ===== Scroll animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* warianty */
.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal-zoom {
  transform: scale(0.9);
}

/* po pokazaniu reset */
.reveal-left.show,
.reveal-right.show,
.reveal-zoom.show {
  transform: none;
}
/* ================================
   DISCORD – DUŻY OBRAZ (CENTER)
================================ */

.discord-big {
  display: flex;
  justify-content: center;   /* poziomo */
  align-items: center;       /* pionowo */
  padding-top: 120px;        /* BIAŁE MIEJSCE NAD OBRAZEM */
  padding-bottom: 80px;
}

.discord-big-inner {
  display: flex;
  justify-content: center;
  width: 100%;
}

.discord-big-image {
  max-width: 1100px;         /* kontrola szerokości */
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;            /* idealny środek */
}

/* 📱 MOBILE */
@media (max-width: 768px) {
  .discord-big {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .discord-big-image {
    max-width: 92%;
  }
}
.discord-big-image {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.discord-big-image:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 30px rgba(88, 101, 242, 0.45));
}
.header-row {
  display: flex;
  align-items: center;
  gap: 60px; /* ← „kilka cm” odstępu od logo */
}
.header-logo img {
  height: 80px; /* możesz dać 70px jeśli chcesz jeszcze większe */
  width: auto;
  display: block;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #000;
  text-decoration: none;
  position: relative;
}

.nav-link:hover {
  color: #6a00ff;
}
.nav-link.shop {
  color: #6a00ff;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 60px; /* ← „kilka cm” odstępu od logo */
}
.header-logo img {
  height: 80x; /* możesz dać 70px jeśli chcesz jeszcze większe */
  width: auto;
  display: block;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #000;
  text-decoration: none;
  position: relative;
}

.nav-link:hover {
  color: #6a00ff;
}
.nav-link.shop {
  color: #6a00ff;
}
@media (max-width: 900px) {
  .header-nav {
    display: none;
  }
}


/* koniec pliku styles.css */
