/* ════════════════════════════════════════════════════════
   PET CENTER — Preload Overlay Animation
   ════════════════════════════════════════════════════════ */

#pc-preload {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #10214b;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#pc-preload.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pc-preload__logo {
  width: 220px;
  max-width: 70vw;
  opacity: 0;
  animation: pcLogoFadeIn 1.8s ease forwards 0.3s;
}

.pc-preload__paw {
  margin-top: 36px;
  width: 40px;
  height: 40px;
  color: #d7bd88;
  animation: pcPawBounce 1.1s ease-in-out infinite alternate;
}

.pc-preload__dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.pc-preload__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(215,189,136,0.35);
  animation: pcDotPulse 1.4s ease-in-out infinite;
}

.pc-preload__dot:nth-child(1) { animation-delay: 0s; }
.pc-preload__dot:nth-child(2) { animation-delay: 0.2s; }
.pc-preload__dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes pcLogoFadeIn {
  0%   { opacity: 0; transform: translateY(16px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pcPawBounce {
  0%   { transform: translateX(-18px) rotate(-10deg); opacity: 0.7; }
  100% { transform: translateX(18px) rotate(10deg); opacity: 1; }
}

@keyframes pcDotPulse {
  0%, 100% { background: rgba(215,189,136,0.3); transform: scale(0.8); }
  50%       { background: #d7bd88; transform: scale(1.15); }
}
