/* ========================================
   ERROR PAGE STYLES
   404/403 error page layout
   ======================================== */

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  padding: var(--spacing-xl, 48px) var(--spacing-md);
}

.error-icon {
  width: 120px;
  height: 120px;
  margin-bottom: var(--spacing-lg);
  animation: error-bounce 2s ease-in-out infinite;
}

@keyframes error-bounce {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-8px) rotate(-5deg);
  }
  75% {
    transform: translateY(-4px) rotate(5deg);
  }
}

.error-code {
  font-family: var(--font-family-display);
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: var(--spacing-sm);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.error-message {
  font-size: 1.125rem;
  color: var(--color-text-muted, #777);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
}

.error-actions {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.error-hint {
  font-size: 0.875rem;
  color: var(--color-text-muted, #777);
}

.error-hint a {
  color: var(--color-primary);
  text-decoration: none;
}

.error-hint a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 767px) {
  .error-icon {
    width: 80px;
    height: 80px;
  }

  .error-code {
    font-size: 5rem;
  }

  .error-title {
    font-size: 1.5rem;
  }

  .error-message {
    font-size: 1rem;
  }

  .error-actions {
    flex-direction: column;
    width: 100%;
  }

  .error-actions .btn {
    width: 100%;
  }
}
