* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Nunito', sans-serif;
  background: #FFF8F0;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

@keyframes gentlePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes warmGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 218, 185, 0.3); }
  50% { box-shadow: 0 0 30px rgba(255, 218, 185, 0.6); }
}

@keyframes confettiPop {
  0% { transform: scale(0); opacity: 1; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(120px) rotate(720deg); opacity: 0; }
}

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

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes envelopeOpen {
  0% { transform: rotateX(0deg); }
  100% { transform: rotateX(-180deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease-out forwards;
}

.animate-fadeInScale {
  animation: fadeInScale 0.4s ease-out forwards;
}

.animate-slideUp {
  animation: slideUp 0.5s ease-out forwards;
}

.animate-bounceIn {
  animation: bounceIn 0.6s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.gentle-pulse {
  animation: gentlePulse 2s ease-in-out infinite;
}

.warm-glow {
  animation: warmGlow 2s ease-in-out infinite;
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: confettiFall 1.5s ease-out forwards;
}

.tab-active {
  background: linear-gradient(135deg, #FFDAB9, #F5D5D5);
  transform: scale(1.08);
}

.card-shadow {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 6px rgba(0, 0, 0, 0.04);
}

.card-shadow-lg {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.04);
}

.progress-bar {
  background: linear-gradient(90deg, #D4E7D0, #A8D4A0, #D4E7D0);
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
}

.streak-today {
  animation: gentlePulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(255, 176, 136, 0.5);
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #E6E0F3;
  border-radius: 4px;
}

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

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

input, textarea, select {
  font-family: 'Nunito', sans-serif;
}

input:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 224, 243, 0.5);
}