* {
  box-sizing: border-box;
}

:root {
  --glass-bg: rgba(15, 23, 42, 0.7);
  --glass-border: rgba(248, 169, 185, 0.1);
  --gradient-berry: linear-gradient(135deg, #e84c6f 0%, #d42a55 50%, #b21e45 100%);
  --gradient-checking: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --gradient-savings: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-wallet: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

.berry-gradient {
  background: var(--gradient-berry);
}

.checking-gradient {
  background: var(--gradient-checking);
}

.savings-gradient {
  background: var(--gradient-savings);
}

.wallet-gradient {
  background: var(--gradient-wallet);
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-out;
}

.animate-slide-up {
  animation: slideUp 0.4s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.3s ease-out;
}

.animate-pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(232, 76, 111, 0.3); }
  50% { box-shadow: 0 0 40px rgba(232, 76, 111, 0.6); }
}

.number-animate {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -12px rgba(232, 76, 111, 0.4);
}

.otp-input {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
}

.otp-input:focus {
  border-color: #e84c6f;
  box-shadow: 0 0 0 3px rgba(232, 76, 111, 0.2);
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.chart-bar {
  transition: height 0.5s ease-out;
}

@media (max-width: 768px) {
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
  }
}

.toast {
  animation: toastIn 0.3s ease-out, toastOut 0.3s ease-in 2.7s;
}

@keyframes toastIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes toastOut {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(100%); opacity: 0; }
}

.berry-bonus {
  animation: berryBounce 0.5s ease infinite alternate;
}

@keyframes berryBounce {
  from { transform: scale(1) rotate(0deg); }
  to { transform: scale(1.2) rotate(10deg); }
}