* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Trebuchet MS" sans-serif, "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

#dawaj {
  background: radial-gradient(
    circle at center center,
    #1c3a41 0%,
    #0a0a0a 100%
  );
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  /* Dodaj pseudo-element z delikatnym noise'em */
}

#dawaj::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAACnej3aAAAACklEQVR4AWP4DwQACfsD/Q0YOq8AAAAASUVORK5CYII=")
    repeat;
  opacity: 0.03;
  z-index: 9999;
  pointer-events: none;
}

/* Hover animation for center-pulse circle */
.center-pulse:hover {
  animation: click-wave 0.6s ease-out forwards;
}

@keyframes click-wave {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}

.center-pulse:hover ~ .center-text,
.center-text:hover,
.center-text.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto; /* linki klikalne */
}

/* Center Pulse Animation for "DAWAJ" */
.center-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px; /* Initial size of the circle */
  height: 120px; /* Initial size of the circle */
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    #9e9e9e 30%,
    #606060 60%,
    #3b3b3b 100%
  );
  box-shadow: 0 0 50px 25px rgba(28, 58, 65, 0.6),
    0 0 10px 4px rgba(255, 255, 255, 0.05) inset;
  transform: translate(-50%, -50%) scale(0.001); /* Start as a very small circle (~1mm) */
  animation: center-pulse-animation 2.5s infinite; /* Changed animation name */
  z-index: 10;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s ease;
  background-image: url("https://www.transparenttextures.com/patterns/noise-1.png");
  background-blend-mode: overlay;
}

@keyframes center-pulse-animation {
  /* Changed animation name */
  0% {
    box-shadow: 0 0 50px 25px rgba(28, 58, 65, 0.6),
      0 0 10px 4px rgba(255, 255, 255, 0.05) inset;
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.001);
  }
  50% {
    box-shadow: 0 0 150px 75px rgba(28, 58, 65, 0.8),
      0 0 20px 10px rgba(255, 255, 255, 0.15) inset;
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.8);
  }
  100% {
    box-shadow: 0 0 50px 25px rgba(28, 58, 65, 0.6),
      0 0 10px 4px rgba(255, 255, 255, 0.05) inset;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.center-text {
    display: inline-block; /* zamiast domyślnego block */
  white-space: nowrap;

  font-size: 19px;
  text-align: center;
  color: white;
  position: absolute;
  max-width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: opacity 0.4s ease-in-out, transform 0.5s ease-in-out; /* 1s zamiast 0.3s */
  line-height: 30px;
  pointer-events: none; /* początkowo nieklikalne */
  z-index: 10;

  

  
}

.center-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center; /* wyśrodkowanie w poziomie */
}

/* Linki w centrum - efekt znikania i pojawiania się */
.center-text a {
  color: #41B3AC;
  text-decoration: none;
  display: inline;
  pointer-events: auto;
  transition: transform 0.3s ease; /* transform pozostawiamy */
}

/* Hover - link znika i pojawia się z powrotem */
.center-text a:hover {
  animation: fadeOutIn 0.5s ease forwards;
  transform: scale(0.98); /* delikatne pomniejszenie */
}

/* Animacja fade-out i fade-in */
@keyframes fadeOutIn {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0; /* link znikający w połowie animacji */
  }
  100% {
    opacity: 1; /* powrót do pełnej widoczności */
  }
}

.center-pulse:active ~ .center-text {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

