/* Teknologjitë: panel i ngrohtë me rrjet që anohet pas maus-it (js/modules/tech.js) */

.tkx {
  max-width: 880px;
  margin: 42px auto 0;
  padding: 44px 30px 34px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: 0 18px 50px var(--glow);
  perspective: 900px;
  overflow: hidden;
}
.tkg {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 38px 10px;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
  will-change: transform;
}
.tk {
  text-align: center;
}
.tkw {
  display: inline-block;
  animation: tkf 4s ease-in-out infinite alternate;
}
.tk:nth-child(2n) .tkw {
  animation-delay: -1.4s;
}
.tk:nth-child(3n) .tkw {
  animation-delay: -2.8s;
}
.tc {
  width: clamp(54px, 11vw, 84px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  margin: 0 auto;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.tk:hover .tc {
  transform: translateY(-6px) scale(1.12);
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.24);
}
.tk span {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 12px;
  transform: rotate(-2deg);
}
.tk:nth-child(2n) span {
  transform: rotate(2deg);
}
@media (max-width: 600px) {
  .tkx {
    padding: 30px 14px 24px;
  }
  .tkg {
    gap: 26px 4px;
  }
  .tk span {
    font-size: 9.5px;
  }
}
@keyframes tkf {
  to {
    translate: 0 -8px;
  }
}
