.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh;
  padding: 48px 24px;
  gap: 0;
}

.error-icon {
  font-size: 4rem;
  margin-bottom: 12px;
  animation: errorPulse 2s ease-in-out infinite;
}

@keyframes errorPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.08); opacity: 0.8; }
}

.error-code {
  font-family: var(--font-mono, monospace);
  font-size: 5rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(239,68,68,0.35);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.error-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text, #e2e8f0);
}

.error-desc {
  font-size: 1rem;
  color: var(--muted, #8b949e);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.error-detail {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 10px;
  padding: 14px 20px;
  max-width: 640px;
  width: 100%;
  text-align: left;
  margin-bottom: 28px;
  font-size: 0.82rem;
  color: var(--muted, #8b949e);
}

.error-detail summary {
  cursor: pointer;
  font-weight: 600;
  color: rgba(239,68,68,0.8);
  margin-bottom: 8px;
}

.error-detail pre {
  font-family: var(--font-mono, monospace);
  white-space: pre-wrap;
  word-break: break-all;
  margin: 8px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
}

.error-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.error-tip {
  font-size: 0.82rem;
  color: var(--muted, #555);
  max-width: 420px;
  line-height: 1.6;
}
