body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
}

.spinner-gallery {
  padding: 2rem;
  text-align: center;
}

.spinner-gallery-title {
  font-size: 3rem;
  font-weight: 300;
  color: white;
  text-align: center;
  margin-bottom: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.spinner-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.spinner-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.spinner-item:hover {
  transform: translateY(-5px);
}

.spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  margin-bottom: 1rem;
}

.spinner-label {
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.spinner-dots {
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #667eea;
  animation: bouncing-dots 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) {
  animation-delay: -0.32s;
}

.dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bouncing-dots {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}
.ring {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: rotating-ring 1s linear infinite;
}

@keyframes rotating-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.pulse-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #667eea;
  animation: pulsing-circle 1.5s ease-in-out infinite;
}

@keyframes pulsing-circle {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
.spinner-wave {
  gap: 4px;
}

.wave-bar {
  width: 6px;
  height: 40px;
  background: #667eea;
  border-radius: 3px;
  animation: wave-bars 1.2s infinite ease-in-out;
}

.wave-bar:nth-child(1) {
  animation-delay: -1.1s;
}

.wave-bar:nth-child(2) {
  animation-delay: -1s;
}

.wave-bar:nth-child(3) {
  animation-delay: -0.9s;
}

.wave-bar:nth-child(4) {
  animation-delay: -0.8s;
}

.wave-bar:nth-child(5) {
  animation-delay: -0.7s;
}

@keyframes wave-bars {
  0%, 40%, 100% {
    transform: scaleY(0.4);
  }
  20% {
    transform: scaleY(1);
  }
}
.spinner-orbit {
  position: relative;
}

.orbit-center {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #667eea;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-path {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-radius: 50%;
  position: relative;
  animation: orbit-rotation 2s linear infinite;
}

.orbit-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #764ba2;
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes orbit-rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.flip-cube {
  width: 40px;
  height: 40px;
  background: #667eea;
  animation: flip-cube 2s infinite ease-in-out;
  transform-style: preserve-3d;
}

@keyframes flip-cube {
  0%, 100% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: rotateX(180deg) rotateY(0deg);
  }
  50% {
    transform: rotateX(180deg) rotateY(180deg);
  }
  75% {
    transform: rotateX(0deg) rotateY(180deg);
  }
}
.back-link {
  margin-top: 3rem;
}

.back-link a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  border: 2px solid white;
  border-radius: 25px;
  transition: all 0.3s ease;
  display: inline-block;
}

.back-link a:hover {
  background: white;
  color: #667eea;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .spinner-gallery-title {
    font-size: 2rem;
  }
  .spinner-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}