.share-button {
  display: inline-flex;
  align-items: center;
  background: #0fb880;
  color: white;
  padding: 2px 4px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  gap: 6px;
}

.share-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.share-content {
  background: white;
  padding: 20px;
  border-radius: 14px;
  width: 90%;
  max-width: 520px;
  text-align: center;
  animation: popIn 0.25s ease;
}

@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.share-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.share-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: #222;
  font-size: 13px;
}

.share-item i {
  font-size: 24px;
  background: #f2f2f2;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 6px;
}

.share-item:hover i {
  background: #0fb880;
  color: white;
}

.close-btn {
  margin-top: 20px;
  background: #ff5555;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

