/* ================= BUTTONY ================= */
.links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-button {
  position: relative;
  height: 64px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111, #1a2a3a);
  text-decoration: none;
  color: white;
  transition: transform .3s ease;
}

.link-button span {
  position: relative;
  z-index: 2;
  padding: 10px 26px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .85rem;
  text-shadow:
    0 2px 8px rgba(0,0,0,.65),
    0 0 1px rgba(0,0,0,.9);
}

.link-button span::before {
  content: "";
  position: absolute;
  inset: -18px -28px;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.35) 40%,
      rgba(0, 0, 0, 0.18) 65%,
      rgba(0, 0, 0, 0.08) 80%,
      transparent 100%
    );
  filter: blur(6px);
}

.link-button:hover span::before {
  transform: scale(1.08);
  filter: blur(4px);
  opacity: 0.95;
  transition: all .45s cubic-bezier(.2,.8,.2,1);
}

.link-button:hover {
  transform: scale(1.02);
}

/* Buttony z obrazkiem */
.link-button.has-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center var(--img-y, 50%);
  filter: grayscale(100%) contrast(110%) brightness(0.7);
  transition:
    transform .5s ease,
    filter .5s ease,
    object-position .5s ease;
}

.link-button.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.35)
  );
  pointer-events: none;
}

.link-button.has-image:hover img {
  transform: scale(1.1);
  filter: none;
}

.link-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  transition: opacity .4s ease;
}

/* ================= ABOUT ME BUTTON ================= */
.about-me-button {
  margin-top: 20px;
  height: auto;
  padding: 10px 0;
  border-radius: 0;
  background: none;
  border: none;
  color: white;
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .3s ease, transform .3s ease;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.about-me-button:hover {
  color: #4a9eff;
  transform: scale(1.02);
}
