/* Контент: левая и правая части */
.skills-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

/* Левая часть: карта */
.skills-left {
  flex: 1 1 300px;
  max-width: 500px;
}

.skills-map {
  width: 100%;
}

.tech-map {
  position: relative;
  width: 100%;
  height: 400px;
}

/* Центральная иконка */
.tech-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: #04b672;
  animation: pulse 2s infinite;
  z-index: 2;
}

/* Узлы технологий */
.tech-node-map {
  position: absolute;
  width: 80px;
  height: 80px;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(0, 255, 128, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 1s ease forwards;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.tech-node:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(0, 255, 128, 0.3);
}

.tech-node img {
  width: 100%;
  height: auto;
}

.fab-map {
    font-size: 50px !important;
    background-image: linear-gradient(to left, #553c9a, #b393d3);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

/* Анимации */
@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(1.1); }
}

/* Правая часть: слайдер */
.skills-right {
  flex: 1 1 400px;
  max-width: 700px;
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
  .skills-content {
    flex-direction: column;
    align-items: center;
  }

  .tech-map {
    height: 360px;
  }

  .tech-node {
    width: 64px;
    height: 64px;
    font-size: 2.5rem;
  }

  .tech-center {
    font-size: 3rem;
  }
}
