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

body {
  background: linear-gradient(180deg, #FFF5E1 0%, #F5E6CC 40%, #F5C7A1 100%);
  min-height: 100vh;
}

@keyframes squishIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.08); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); opacity: 1; }
}

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

@keyframes spin-pot {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(194, 112, 62, 0.3); }
  50% { box-shadow: 0 0 40px rgba(194, 112, 62, 0.6); }
}

@keyframes wobble {
  0%, 100% { transform: rotate(-2deg) scale(1); }
  25% { transform: rotate(2deg) scale(1.02); }
  50% { transform: rotate(-1deg) scale(0.98); }
  75% { transform: rotate(1deg) scale(1.01); }
}

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

@keyframes kneading {
  0%, 100% { border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%; }
  25% { border-radius: 55% 45% 48% 52% / 42% 58% 42% 58%; }
  50% { border-radius: 45% 55% 52% 48% / 58% 42% 58% 42%; }
  75% { border-radius: 48% 52% 45% 55% / 55% 50% 45% 55%; }
}

.squish-in {
  animation: squishIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.bounce-anim {
  animation: bounce 0.8s ease-in-out infinite;
}

.wobble-anim {
  animation: wobble 2s ease-in-out infinite;
}

.fade-slide-up {
  animation: fadeSlideUp 0.6s ease-out forwards;
}

.knead-blob {
  animation: kneading 3s ease-in-out infinite;
}

.clay-button {
  background: linear-gradient(145deg, #C2703E, #A85C30);
  box-shadow: 
    0 6px 0 #8B5E3C,
    0 8px 16px rgba(139, 94, 60, 0.35),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transition: all 0.15s ease;
  position: relative;
  top: 0;
}

.clay-button:hover:not(:disabled) {
  top: 3px;
  box-shadow: 
    0 3px 0 #8B5E3C,
    0 5px 12px rgba(139, 94, 60, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.clay-button:active:not(:disabled) {
  top: 5px;
  box-shadow: 
    0 1px 0 #8B5E3C,
    0 2px 6px rgba(139, 94, 60, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

.clay-button:disabled {
  background: linear-gradient(145deg, #c4b5a5, #b0a090);
  box-shadow: 0 4px 0 #9a8d7d, 0 6px 12px rgba(0,0,0,0.1);
  cursor: not-allowed;
  opacity: 0.6;
}

.clay-card {
  background: linear-gradient(145deg, #FFF5E1, #F5E6CC);
  box-shadow: 
    8px 8px 20px rgba(139, 94, 60, 0.2),
    -4px -4px 12px rgba(255, 255, 255, 0.8),
    inset 0 1px 2px rgba(255, 255, 255, 0.6);
  border-radius: 24px;
}

.drop-zone {
  border: 3px dashed #C2703E;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(245, 199, 161, 0.3), rgba(255, 245, 225, 0.5));
  transition: all 0.3s ease;
}

.drop-zone:hover, .drop-zone.drag-over {
  border-color: #8B5E3C;
  background: linear-gradient(135deg, rgba(245, 199, 161, 0.5), rgba(255, 245, 225, 0.7));
  transform: scale(1.01);
}

.style-pill {
  background: linear-gradient(145deg, #F5E6CC, #FFF5E1);
  box-shadow: 
    3px 3px 8px rgba(139, 94, 60, 0.15),
    -2px -2px 6px rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.style-pill:hover {
  transform: scale(1.03);
}

.style-pill.active {
  background: linear-gradient(145deg, #C2703E, #A85C30);
  color: white;
  box-shadow: 
    inset 2px 2px 4px rgba(0,0,0,0.15),
    0 2px 8px rgba(194, 112, 62, 0.3);
  border-color: #8B5E3C;
}

.gallery-thumb {
  border-radius: 16px;
  box-shadow: 4px 4px 12px rgba(139, 94, 60, 0.2);
  transition: all 0.2s ease;
  border: 3px solid #F5C7A1;
}

.gallery-thumb:hover {
  transform: scale(1.06) rotate(-1deg);
  box-shadow: 6px 6px 18px rgba(139, 94, 60, 0.3);
}

.loading-blob {
  width: 80px;
  height: 80px;
  background: linear-gradient(145deg, #C2703E, #e8955a);
  animation: kneading 2s ease-in-out infinite;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(245, 199, 161, 0.3);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #C2703E;
  border-radius: 10px;
}