:root {
  /* Mood Colors */
  --mood-happy: #ffd93d;
  --mood-neutral: #f6f1e9;
  --mood-sad: #6c9bcf;
  --mood-angry: #ff6b6b;
  --mood-anxious: #a890fe;

  /* UI Colors */
  --color-bg: #f6f1e9; /* Default to Neutral */
  --color-text-main: #2c3e50;
  --color-text-sub: #7f8c8d;
  --color-white: #ffffff;
  --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --radius-lg: 24px;
  --radius-md: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.5s ease;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-soft);
}

.mood-btn {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mood-btn:active {
  transform: scale(0.9);
}

.mood-btn.selected {
  transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5);
}

/* Navigation */
.nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 16px 24px 32px; /* Extra padding for iPhone bottom bar */
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 50;
}

.nav-item {
  color: #bdc3c7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-item i {
  font-size: 20px;
}

.nav-item.active {
  color: var(--color-text-main);
}

/* Utilities */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
