/* === GARGULCE === */
.gargoyle {
  position: absolute;
  top: 25vh; /* domyślna pozycja dla desktopu */
  width: fit-content;
  max-width: 24vw;
  z-index: 1000;
  opacity: 0.15;
  pointer-events: none;
  animation: pulseGargoyle 10s ease-in-out infinite;
}

.gargoyle-left {
  left: -10px;
}

.gargoyle-right {
  right: -10px;
  transform-origin: center;
}

.gargoyle-left img,
.gargoyle-right img {
  height: 660px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 1;
  filter: brightness(150%) contrast(225%);
}

.gargoyle-left img {
  filter:
    brightness(150%) contrast(225%)
    drop-shadow(0 0 5px rgba(255, 100, 100, 0.7))
    drop-shadow(0 0 16px rgba(255, 0, 0, 0.4));
}

.gargoyle-right img {
  filter:
    brightness(150%) contrast(225%)
    drop-shadow(0 0 5px rgba(255, 210, 90, 0.7))
    drop-shadow(0 0 16px rgba(255, 190, 50, 0.4));
}

.gargoyle::after {
  content: attr(data-name);
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.15);
  font-style: italic;
  letter-spacing: 1px;
  pointer-events: none;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

/* === ANIMACJA ODDYCHANIA === */
@keyframes pulseGargoyle {
  0%, 100% {
    transform: scaleY(0.96) translateY(-4px);
  }
  50% {
    transform: scaleY(1.02) translateY(2px);
  }
}

/* === RESPONSYWNOŚĆ – MOBILE i TABLETY === */
@media screen and (max-width: 768px) {
  .gargoyle {
  position: absolute !important;
    top: 370px; /* bridge ma 400px – dopasuj do wysokości gargulca */
    z-index: 9999 !important;
    opacity: 0.9 !important;
    pointer-events: none !important;
    display: block !important;
  }

  .gargoyle-left {
    left: 0 !important;
  }

  .gargoyle-right {
    right: 0 !important;
  }

  .gargoyle img {
    height: 120px !important;
    width: auto !important;
    display: block !important;
    filter: none !important;
  }

  .gargoyle::after {
    font-size: 0.5rem !important;
    bottom: -10px !important;
  }
}
@media screen and (max-width: 480px) {
  .gargoyle {
    top: 250px; /* bridge ma 280px – dopasuj niżej */
  }
}