/* 1. LIKE BUTTON SYSTEM */

.post-actions {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
  position: relative;
  z-index: 10;
  padding: 10px 0;
}

.post-action-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s ease, color 0.2s ease;
  position: relative;
  overflow: visible; /* changed from hidden to allow subtle glow outside if needed */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.post-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
  color: var(--text-primary);
}

.post-action-btn:active {
  transform: translateY(1px) scale(0.96);
}

.post-action-btn svg, .post-action-btn i {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), fill 0.2s ease, color 0.2s ease;
}

/* Active Like State - Minimalistic and Premium */
.post-action-btn.active-like {
  color: var(--text-primary);
}

.post-action-btn.active-like svg, .post-action-btn.active-like i {
  color: #ff3040;
  fill: #ff3040;
  animation: heartPopSoft 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartPopSoft {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Ripple Glow Effect (Subtle for like) */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 48, 64, 0.2);
  transform: scale(0);
  animation: rippleGlowSoft 0.4s ease-out;
  pointer-events: none;
  width: 30px;
  height: 30px;
  left: 5px;
  top: 3px;
}

@keyframes rippleGlowSoft {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Floating Particles - Very subtle for heart */
.particle-container {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 1px;
  height: 1px;
  pointer-events: none;
  z-index: 100;
}

.like-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: #ff3040;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: particleBurstSoft 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes particleBurstSoft {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { 
    transform: translate(var(--tx), var(--ty)) scale(0); 
    opacity: 0; 
  }
}

/* Counter Animation */
.like-counter {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.counter-animate-up {
  animation: counterUpSoft 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes counterUpSoft {
  0% { transform: translateY(6px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
