.bento-tile {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bento-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

@keyframes pulse-urgent {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.countdown-urgent {
  animation: pulse-urgent 0.8s infinite;
  background-color: #dc2626 !important;
  color: white !important;
}

.modal-enter {
  animation: modalIn 0.2s ease-out;
  will-change: opacity, transform;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes priceFlash {
  0% { color: #fedb32; transform: scale(1.12); }
  100% { color: inherit; transform: scale(1); }
}
.price-updated {
  animation: priceFlash 0.5s ease-out;
}

.auction-tile {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.auction-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.bid-btn-active {
  background-color: #fedb32 !important;
  color: #1a1a1a !important;
  cursor: pointer !important;
}
.bid-btn-active:hover {
  background-color: #ffe566 !important;
}

.modal-scroll::-webkit-scrollbar { width: 6px; }
.modal-scroll::-webkit-scrollbar-track { background: transparent; }
.modal-scroll::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
.modal-scroll::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

.status-active {
  background-color: #dcfce7;
  color: #166534;
}
.status-finished {
  background-color: #f3f4f6;
  color: #6b7280;
}
.status-cancelled {
  background-color: #fee2e2;
  color: #991b1b;
}

input[type="checkbox"]:checked {
  background-color: #fedb32;
  border-color: #fedb32;
}

.count-up {
  transition: all 0.3s ease;
}

.img-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  animation: toastIn 0.3s ease-out;
}
.toast-bid {
  background: #1a1a1a;
  color: #fedb32;
}
.toast-info {
  background: #fedb32;
  color: #1a1a1a;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}

/* Jar/puszka tiles */
.jar-tile {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.jar-tile:hover {
  transform: translateY(-3px);
}
.jar-active:hover {
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.2);
}
.jar-active .piggy-icon {
  animation: piggyBounce 3s ease-in-out infinite;
}
@keyframes piggyBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-3px) rotate(-2deg); }
  75% { transform: translateY(-3px) rotate(2deg); }
}

/* Coin dropping into piggy bank */
.coin-drop {
  animation: coinDrop 2.5s ease-in infinite;
}
@keyframes coinDrop {
  0% { transform: translateY(-8px); opacity: 0; }
  15% { transform: translateY(-4px); opacity: 1; }
  40% { transform: translateY(14px); opacity: 1; }
  50% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* Floating coins inside active jar */
.jar-coins {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 1rem;
}
.jar-coins::before,
.jar-coins::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fedb32;
  opacity: 0.5;
}
.jar-coins::before {
  bottom: 18%;
  left: 20%;
  animation: coinFloat 2.5s ease-in-out infinite;
}
.jar-coins::after {
  bottom: 25%;
  right: 22%;
  animation: coinFloat 3s ease-in-out infinite 0.5s;
}
@keyframes coinFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-8px) scale(1.2); opacity: 0.8; }
}
