:root {
  --bg-primary: #050505;
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-tertiary: #71717a;
  --brand-400: #a78bfa;
  --brand-700: #6d28d9;
  --border-light: rgba(255, 255, 255, 0.08);
  --error-color: #ef4444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-700);
}

.background-glow {
  position: fixed;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(239, 68, 68, 0.12) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 600px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 90vh;
}

.content-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.content-bottom {
  margin-top: auto;
  padding-top: 40px;
}

.error-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  padding: 20px;
  background: rgba(239, 68, 68, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--error-color);
}

.error-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--error-color);
}

h1 {
  font-size: 0.875rem;
  color: transparent;
  height: 0;
  overflow: hidden;
  margin: 0;
}

h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #ef4444 0%, #f43f5e 50%, #fb7185 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.7;
}

a {
  color: var(--brand-400);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(167, 139, 250, 0.3);
}

a:hover {
  color: #c4b5fd;
  border-bottom-color: rgba(167, 139, 250, 0.6);
  text-decoration: none;
}

.footer-text {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.footer-text p {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  margin: 0;
}

@media (max-width: 640px) {
  h2 {
    font-size: 1.875rem;
  }

  p {
    font-size: 1rem;
  }

  .error-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
