/* 3. COMMENT CARD DESIGN */

.comment-card {
  display: flex;
  gap: 12px;
  position: relative;
  transition: all 0.3s ease;
  animation: slideUpFade 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(10px);
}

.comment-card.deleting {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.comment-card.highlight {
  animation: slideUpFade 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, smoothGlow 2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes smoothGlow {
  0% { background: rgba(255, 215, 0, 0.0); }
  20% { background: rgba(255, 215, 0, 0.1); border-radius: 12px; }
  100% { background: rgba(255, 215, 0, 0.0); }
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.comment-avatar:hover {
  transform: scale(1.05);
}

.comment-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.comment-username {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  cursor: pointer;
}

.comment-username:hover {
  text-decoration: underline;
}

.verified-badge {
  color: var(--accent-gold);
  width: 14px;
  height: 14px;
}

.comment-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.comment-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  word-break: break-word;
}

.comment-text .mention {
  color: var(--accent-gold);
  cursor: pointer;
  font-weight: 500;
}

.comment-footer-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.comment-action-text {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.comment-action-text:hover {
  color: var(--text-primary);
}

.comment-like-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.comment-like-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.comment-like-btn:hover {
  color: #ff4b4b;
  transform: scale(1.1);
}

.comment-like-btn.liked {
  color: #ff4b4b;
}

.comment-like-btn.liked i {
  fill: #ff4b4b;
  animation: heartPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.comment-likes-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.comment-more-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.comment-more-btn:hover {
  color: var(--text-primary);
}
