
/* Subtelny floating social bar dopasowany do landing CSS variables */
.seb-fsb{
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  pointer-events: none; /* tylko elementy wewnątrz klikane */
}
.seb-fsb.is-right{ right: 14px; }
.seb-fsb.is-left{ left: 14px; }

.seb-fsb__list{
  display: flex;
  flex-direction: column;
  gap: var(--seb-fsb-gap, 8px);
  pointer-events: auto;
}

.seb-fsb__a{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none !important;
  color: #fff !important;

  /* ultra subtelne tło */
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  transition: transform .18s ease, filter .18s ease, border-color .18s ease, background-color .18s ease;
}
.seb-fsb__a i{ font-size: 15px; opacity: .92; }

.seb-fsb__a:hover{
  filter: brightness(1.08);
  transform: translateY(-1px);
  border-color: rgba(201,154,46,.42); /* --gold w Twoich zmiennych */
}

/* --- Mobile: mini FAB + rozwijanie (nie zasłania ekranu) --- */
.seb-fsb__fab{
  display: none;
  pointer-events: auto;

  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.45);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0,0,0,.22);

  cursor: pointer;
  padding: 0;
}
.seb-fsb__fab i{ font-size: 15px; opacity: .95; }
.seb-fsb__fab:focus-visible{ outline: none; box-shadow: 0 0 0 3px rgba(201,154,46,.35), 0 12px 30px rgba(0,0,0,.22); }

@media (max-width: 767.98px){
  .seb-fsb{
    top: auto;
    bottom: 18px;
    transform: none;
  }
  .seb-fsb.is-right{ right: 14px; }
  .seb-fsb.is-left{ left: 14px; }

  .seb-fsb__fab{ display: grid; place-items:center; }
  .seb-fsb__list{
    position: absolute;
    bottom: 48px;
    /* w lewo/prawo zależnie od pozycji */
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .seb-fsb.is-left .seb-fsb__list{
    left: 0;
    right: auto;
  }

  .seb-fsb.is-open .seb-fsb__list{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .seb-fsb__a{
    width: 34px;
    height: 34px;
  }
  .seb-fsb__a i{ font-size: 14px; }
}

/* Jeśli strona ma zmienne CSS — użyj ich delikatnie */
.seb-fsb__a:hover{
  /* jeżeli --gold istnieje, to fajnie zagra; jak nie, zostaje border-color z góry */
  border-color: rgba(201,154,46,.42);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .seb-fsb__a, .seb-fsb__list{ transition: none !important; }
}
