.teapot-loader {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 40px auto;
}

.teapot {
  width: 100%;
  height: 100%;
  position: relative;
  animation: steam 2s ease-in-out infinite;
}

.teapot-body {
  width: 40px;
  height: 30px;
  background: linear-gradient(135deg, #8B4513, #A0522D);
  border-radius: 20px 20px 15px 15px;
  position: absolute;
  bottom: 8px;
  left: 10px;
  box-shadow: inset -2px -2px 4px rgba(0,0,0,0.2);
}

.teapot-spout {
  width: 15px;
  height: 8px;
  background: linear-gradient(135deg, #8B4513, #A0522D);
  border-radius: 0 8px 8px 0;
  position: absolute;
  bottom: 20px;
  right: 8px;
  transform: rotate(-15deg);
}

.teapot-handle {
  width: 12px;
  height: 20px;
  border: 2px solid #654321;
  border-radius: 50%;
  position: absolute;
  bottom: 15px;
  left: 2px;
  background: transparent;
}

.teapot-lid {
  width: 30px;
  height: 8px;
  background: linear-gradient(135deg, #A0522D, #CD853F);
  border-radius: 50%;
  position: absolute;
  bottom: 32px;
  left: 15px;
}

.teapot-knob {
  width: 6px;
  height: 6px;
  background: #654321;
  border-radius: 50%;
  position: absolute;
  bottom: 36px;
  left: 27px;
}

.steam {
  position: absolute;
  width: 2px;
  height: 15px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  top: -10px;
  animation: steamRise 1.5s ease-in-out infinite;
}

.steam:nth-child(1) {
  left: 35px;
  animation-delay: 0s;
}

.steam:nth-child(2) {
  left: 38px;
  animation-delay: 0.3s;
}

.steam:nth-child(3) {
  left: 32px;
  animation-delay: 0.6s;
}

@keyframes steam {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.05) rotate(2deg); }
}

@keyframes steamRise {
  0% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateY(-8px) scale(1.2);
  }
  100% {
    opacity: 0;
    transform: translateY(-15px) scale(0.8);
  }
}

.tea-cup-loader {
  position: relative;
  width: 50px;
  height: 50px;
  margin: 40px auto;
}

.tea-cup {
  width: 30px;
  height: 25px;
  background: linear-gradient(135deg, #8B4513, #A0522D);
  border-radius: 0 0 15px 15px;
  position: relative;
  animation: gentle-sway 3s ease-in-out infinite;
}

.tea-cup::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 2px;
  right: 2px;
  height: 8px;
  background: linear-gradient(90deg, #654321, #8B4513);
  border-radius: 50%;
  animation: tea-surface 2s ease-in-out infinite;
}

.tea-cup::after {
  content: '';
  position: absolute;
  top: 5px;
  right: -8px;
  width: 12px;
  height: 15px;
  border: 2px solid #654321;
  border-radius: 50%;
  background: transparent;
  border-left: transparent;
}

.cup-steam {
  position: absolute;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  top: -8px;
  animation: cupSteamRise 1.2s ease-in-out infinite;
}

.cup-steam:nth-child(2) {
  left: 10px;
  animation-delay: 0s;
}

.cup-steam:nth-child(3) {
  left: 15px;
  animation-delay: 0.2s;
}

.cup-steam:nth-child(4) {
  left: 20px;
  animation-delay: 0.4s;
}

@keyframes gentle-sway {
  0%, 100% { transform: rotate(-1deg); }
  50% { transform: rotate(1deg); }
}

@keyframes tea-surface {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.1); }
}

@keyframes cupSteamRise {
  0% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
  40% {
    opacity: 1;
    transform: translateY(-6px) scale(1.1);
  }
  100% {
    opacity: 0;
    transform: translateY(-12px) scale(0.9);
  }
}

.loading-text {
  text-align: center;
  color: #654321;
  font-size: 14px;
  margin-top: 20px;
  opacity: 0.8;
  animation: fade-pulse 2s ease-in-out infinite;
}

@keyframes fade-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}