.tech__card {
  position: relative;
  min-height: 28.125rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-8);
  overflow: hidden;
}

.tech__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tech__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech__bg-overlay {
  position: absolute;
  inset: 0;
  background: var(--c-overlay);
}

.tech__lottie {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

.tech__ecosystem-label,
.tech__highlights,
.tech__center,
.tech__tags {
  position: relative;
  z-index: 2;
}

.tech__ecosystem-label {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--c-accent);
}

.tech__highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
}

.tech__center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.tech__line {
  width: 6.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border), transparent);
}

.tech__center-text {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--c-text);
  white-space: nowrap;
}

.tech__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
}

.tech__tags-col {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  max-width: 37.5rem;
}

.tech__tags-col--right {
  justify-content: flex-end;
  max-width: 25rem;
}

.tech-card .is-draggable {
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  will-change: transform;
  box-shadow: var(--shadow-tech-glow);
  animation: tech-glow-pulse var(--duration-slow) var(--ease-premium) infinite alternate;
  transition:
    border-color var(--duration-base) var(--ease-premium),
    box-shadow var(--duration-base) var(--ease-premium);
}

.tech-card .is-draggable:hover,
.tech-card .is-draggable:focus-visible {
  border-color: var(--c-green);
  box-shadow: var(--shadow-tech-glow-pulse);
  outline: none;
}

.tech-card .is-draggable.is-dragging {
  cursor: grabbing;
  z-index: var(--z-nav);
  border-color: var(--c-green);
  box-shadow: var(--shadow-tech-glow-active);
  animation: none;
}

.tech-card .tech-chip .chip__dot--accent {
  box-shadow: var(--shadow-dot-accent);
}

.tech-card .tech-chip .chip__dot--green {
  box-shadow: var(--shadow-dot-green);
}

@keyframes tech-glow-pulse {
  from {
    box-shadow: var(--shadow-tech-glow);
  }

  to {
    box-shadow: var(--shadow-tech-glow-pulse);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-card .is-draggable {
    animation: none;
  }
}

@media (max-width: 767px) {
  .tech__highlights {
    flex-direction: column;
  }

  .tech__center-text {
    white-space: normal;
    text-align: center;
    font-size: var(--text-xl);
  }

  .tech__line {
    display: none;
  }

  .tech__tags {
    flex-direction: column;
  }

  .tech__tags-col--right {
    justify-content: flex-start;
  }
}
