/* =========================
   ICON COMPONENT FINAL
========================= */

.icon-item {
  position: relative;
  width: 100%;
}

/* LINK */
.icon-item a {
  text-decoration: none;
  color: inherit;

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ICON */
.icon-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;

  border-radius: 22px;

  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
  transition: transform .18s ease, box-shadow .18s ease;
}

/* TAP EFFECT */
.icon-item img:active {
  transform: scale(0.92);
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

/* HOVER (desktop) */
@media (hover: hover) {
  .icon-item img:hover {
    transform: scale(1.08);
    box-shadow:
      0 0 20px rgba(255,255,255,0.4),
      0 0 40px rgba(0,200,255,0.4);
  }
}

/* LABEL */
.icon-item span {
  margin-top: 6px;
  font-size: 12px;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  line-height: 1.2;
}

/* LIKE BUTTON */
.like-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 18px;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  transition: transform .2s, color .2s;
}

.like-btn.liked {
  color: red;
  transform: scale(1.2);
}