:root {
  --gold: #F6D365;
  --orange: #FDA085;
  --lavender: #E2D1F9;
  --cream: #FFF9F0;
  --warm-pink: #FFB7B2;
  --deep-gold: #E8B830;
  --navy: #1A1A2E;
  --navy-light: #252547;
  --navy-chat: #1E1E3A;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Nunito', 'Quicksand', sans-serif;
  background: var(--cream);
  min-height: 100vh;
  overflow: hidden;
}

body.dark-mode {
  background: var(--navy);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(246, 211, 101, 0.4);
  border-radius: 3px;
}

/* Pulse animation for the sun icon */
@keyframes gentlePulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes softGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(246, 211, 101, 0.3); }
  50% { box-shadow: 0 0 30px rgba(246, 211, 101, 0.6); }
}

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

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

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

@keyframes taglineFade {
  0%, 10% { opacity: 0; transform: translateY(8px); }
  15%, 85% { opacity: 1; transform: translateY(0); }
  90%, 100% { opacity: 0; transform: translateY(-8px); }
}

@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

@keyframes hypeOverlayIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

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

.msg-bot { animation: slideInLeft 0.4s ease-out; }
.msg-user { animation: slideInRight 0.4s ease-out; }

.typing-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 2px;
}
.typing-dot:nth-child(1) { animation: typingDot 1.4s infinite 0s; }
.typing-dot:nth-child(2) { animation: typingDot 1.4s infinite 0.2s; }
.typing-dot:nth-child(3) { animation: typingDot 1.4s infinite 0.4s; }

.confetti-piece {
  position: fixed;
  width: 10px;
  height: 10px;
  top: -10px;
  z-index: 9999;
  pointer-events: none;
}

.affirmation-card {
  animation: softGlow 3s ease-in-out infinite;
}

.hype-overlay {
  animation: hypeOverlayIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mood-bar {
  transition: height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}