@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Space+Grotesk:wght@500&display=swap');

:root {
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  background: #05060f;
  color: #e7e9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float 16s infinite alternate ease-in-out;
}

.orb-one {
  width: 520px;
  height: 520px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.9), transparent 70%);
  animation-delay: -6s;
}

.orb-two {
  width: 480px;
  height: 480px;
  bottom: -160px;
  right: -100px;
  background: radial-gradient(circle at 70% 70%, rgba(56, 189, 248, 0.85), transparent 75%);
  animation-delay: -2s;
}

.grid-overlay {
  position: absolute;
  inset: -40px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 0);
  background-size: 60px 60px;
  mix-blend-mode: overlay;
  opacity: 0.25;
  transform: rotate(1.5deg) scale(1.05);
  animation: drift 18s infinite linear;
}

@keyframes float {
  to {
    transform: translate3d(0, -20px, 0) scale(1.05);
    opacity: 0.65;
  }
}

@keyframes drift {
  to {
    transform: rotate(3.5deg) scale(1.07);
  }
}

main {
  position: relative;
  z-index: 1;
  max-width: 460px;
  width: 100%;
  padding: 3.5rem 2.5rem;
  text-align: center;
  backdrop-filter: blur(18px);
  background: rgba(8, 10, 24, 0.55);
  border: 1px solid rgba(120, 134, 255, 0.25);
  border-radius: 28px;
  box-shadow: 0 25px 80px rgba(12, 16, 40, 0.45);
}

.glyph {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  display: block;
  font-size: 3.8rem;
  margin-bottom: 1rem;
  color: #8b5cf6;
  letter-spacing: 0.35rem;
  text-transform: uppercase;
}

h1 {
  font-size: 2rem;
  margin: 0 0 1.25rem;
  line-height: 1.3;
  font-weight: 700;
}

.cipher {
  color: #a9adff;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
  font-size: 1rem;
}

.hint {
  text-transform: uppercase;
  letter-spacing: 0.5rem;
  font-size: 0.75rem;
  color: #fdf5ff;
  margin: 0 0 2.5rem;
  opacity: 0.65;
}

.contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: #05060f;
  background: linear-gradient(135deg, #38bdf8, #8b5cf6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 12px 30px rgba(91, 106, 255, 0.35);
}

.contact a:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 44px rgba(91, 106, 255, 0.45);
}

footer {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: rgba(231, 233, 255, 0.55);
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  body {
    padding: 2.5rem 1rem;
  }

  main {
    padding: 2.8rem 1.8rem;
    border-radius: 22px;
  }

  h1 {
    font-size: 1.7rem;
  }

  .glyph {
    font-size: 3.1rem;
    letter-spacing: 0.2rem;
  }

  .hint {
    letter-spacing: 0.35rem;
  }

  footer {
    font-size: 0.72rem;
    bottom: 1.2rem;
  }
}

