body {
  -webkit-tap-highlight-color: transparent;
}

.tab-active {
  background-color: #4f46e5;
  color: white;
}

.auth-tab-active {
  background-color: rgba(255, 255, 255, 0.25);
  color: white;
}

.item-card {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

#success-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#success-overlay.show {
  opacity: 1;
}

#success-overlay .success-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem 3rem;
  text-align: center;
  transform: scale(0.5);
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@keyframes popIn {
  to { transform: scale(1); }
}

#success-overlay .success-emoji {
  font-size: 4rem;
  animation: bounce 0.6s ease infinite alternate;
}

@keyframes bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

#tip-toast,
#topup-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.4s ease;
}

#tip-toast {
  background: #059669;
}

#topup-toast {
  background: #4f46e5;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.buy-btn:active {
  transform: scale(0.95);
}

.tab-active-doom {
  background-color: #7c3aed;
  color: white;
}

.feed-card {
  animation: fadeIn 0.3s ease;
}

.like-btn:active,
.repost-btn:active {
  transform: scale(0.95);
}