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

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

:root {
  --forest: #1a4a3a;
  --teal: #2a7a6a;
  --amber: #d4920a;
  --coral: #e8614d;
  --gold: #f0c040;
  --cream: #faf6ee;
  --ocean: #2980b9;
  --warm-gray: #e8e0d4;
}

.header-gradient {
  background: linear-gradient(135deg, #0d2b20 0%, #1a4a3a 40%, #1a6a5a 70%, #2a8a7a 100%);
  position: relative;
  overflow: hidden;
}

.paw-particle {
  position: absolute;
  opacity: 0.08;
  animation: floatUp linear infinite;
  pointer-events: none;
  font-size: 24px;
}

@keyframes floatUp {
  0% { transform: translateY(100%) rotate(0deg); opacity: 0; }
  10% { opacity: 0.08; }
  90% { opacity: 0.08; }
  100% { transform: translateY(-100%) rotate(360deg); opacity: 0; }
}

.category-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.category-scroll::-webkit-scrollbar {
  display: none;
}

.card-hover {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 74, 58, 0.15);
}

.badge-pulse {
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.bounce-highlight {
  animation: bounceCard 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes bounceCard {
  0% { transform: scale(1); }
  30% { transform: scale(1.06); }
  60% { transform: scale(0.97); }
  100% { transform: scale(1); }
}

.modal-overlay {
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.emoji-cycle {
  display: inline-block;
  animation: emojiPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes emojiPop {
  0% { transform: scale(0.5) rotate(-10deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.fab-button {
  animation: fabPulse 3s ease-in-out infinite;
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(212, 146, 10, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(212, 146, 10, 0.7); }
}

.search-glow:focus {
  box-shadow: 0 0 0 3px rgba(42, 122, 106, 0.3);
}

.img-container {
  background: linear-gradient(135deg, #e8e0d4, #d4cfc4);
  position: relative;
  overflow: hidden;
}

.img-container::before {
  content: '🐾';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  opacity: 0.3;
}

.chip-active {
  background: var(--teal) !important;
  color: white !important;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(42, 122, 106, 0.3);
}

.stagger-in {
  animation: staggerFadeIn 0.4s ease forwards;
  opacity: 0;
}
@keyframes staggerFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.learn-more-btn {
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}

.card-hover:hover .learn-more-btn {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .learn-more-btn {
    opacity: 1;
    transform: translateY(0);
  }
}

.fact-carousel-item {
  transition: all 0.3s ease;
}

.copy-toast {
  animation: toastIn 0.3s ease, toastOut 0.3s ease 1.7s forwards;
}
@keyframes toastIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes toastOut {
  from { opacity: 1; }
  to { opacity: 0; }
}