:root {
  --bg-primary: #050505;
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-tertiary: #71717a;
  --brand-400: #a78bfa;
  --brand-500: #8b5cf6;
  --brand-600: #7c3aed;
  --brand-700: #6d28d9;
  --border-light: rgba(255, 255, 255, 0.08);
}

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

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

body {
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.08) 0%, rgba(5, 5, 5, 0) 42%),
    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: 24%;
  left: 50%;
  width: min(720px, 90vw);
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.14) 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 {
  width: 100%;
  max-width: 680px;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

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

h1 {
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--brand-400) 0%, var(--brand-500) 50%, var(--brand-600) 100%);
  background-clip: text;
  color: transparent;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 7vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  width: min(540px, 100%);
  margin-bottom: 30px;
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.7;
}

a {
  color: var(--brand-400);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease, border-color 0.25s ease;
}

a:hover {
  color: #c4b5fd;
}

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

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

.footer-text a {
  border-bottom: 1px solid rgba(167, 139, 250, 0.3);
  padding-bottom: 2px;
}

.footer-text a:hover {
  border-bottom-color: rgba(167, 139, 250, 0.6);
}

@media (max-width: 640px) {
  main {
    padding: 18px;
  }

  .container {
    min-height: 92vh;
  }

  .lead {
    font-size: 1rem;
  }
}

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