/* 500 Error Page Specific Styles */

/* Technical Error Animations */
@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes status-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Wrench Icon Spin */
.animate-spin {
  animation: spin-slow 3s linear infinite;
}

/* Status Indicators */
.animate-pulse {
  animation: status-pulse 2s ease-in-out infinite;
}

/* Card Entrance Animation */
.bg-background {
  animation: slideInFromBottom 0.8s ease-out;
}

/* Technical Pattern */
.fixed .animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Status Grid Animation */
.grid > div {
  animation: slideInFromBottom 0.6s ease-out;
  animation-fill-mode: both;
}

.grid > div:nth-child(1) {
  animation-delay: 0.1s;
}
.grid > div:nth-child(2) {
  animation-delay: 0.2s;
}
.grid > div:nth-child(3) {
  animation-delay: 0.3s;
}

/* Hover Effects */
.hover\:scale-105:hover {
  transform: scale(1.05);
}

.hover\:-translate-y-2:hover {
  transform: translateY(-8px);
}

/* Status Indicator Colors */
.bg-red-500 {
  background-color: #ef4444;
}

.bg-yellow-500 {
  background-color: #eab308;
}

.bg-green-500 {
  background-color: #22c55e;
}

/* Button Technical Theme */
.bg-primary {
  position: relative;
  overflow: hidden;
}

.bg-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.bg-primary:hover::after {
  left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .text-9xl {
    font-size: 6rem;
  }

  .text-5xl {
    font-size: 2.5rem;
  }

  .grid-cols-1.md\\:grid-cols-3 {
    grid-template-columns: 1fr;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .bg-background {
    background-color: #1a1a1a;
  }

  .bg-background {
    background-color: #2d2d2d;
    color: #ffffff;
  }

  .text-text {
    color: #a0a0a0;
  }
}
