:root {
  color-scheme: dark;
  font-family: Inter, Arial, sans-serif;
  background: #0c1330;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
  background: #0c1330;
}

.waiting-screen {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(46, 76, 155, 0.18), transparent 38%),
    linear-gradient(135deg, #091126 0%, #0c1330 52%, #10163b 100%);
}

.content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(90vw, 880px);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  width: clamp(230px, 29vw, 390px);
  height: auto;
  margin-bottom: clamp(34px, 5vh, 64px);
  object-fit: contain;
  filter: brightness(0) invert(1);
}

h1 {
  display: flex;
  margin: 0;
  flex-direction: column;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(2.1rem, 4.2vw, 4.6rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
}

h1 span,
h1 strong {
  font-weight: 600;
}

h1 span {
  color: #fff;
}

h1 strong {
  background: linear-gradient(90deg, #6e58ff 0%, #4e72ff 52%, #2f96ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

a {
  margin-top: clamp(44px, 7vh, 74px);
  color: #e6e6ef;
  font-size: clamp(0.82rem, 1.2vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-decoration: none;
  transition: color 180ms ease;
}

a:hover,
a:focus-visible {
  color: #fff;
}

.glow {
  position: absolute;
  z-index: -1;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  opacity: 0.24;
  filter: blur(100px);
}

.glow-top {
  top: -26rem;
  right: -15rem;
  background: #5a4fff;
}

.glow-bottom {
  bottom: -30rem;
  left: -16rem;
  background: #208cff;
}

.lines {
  position: absolute;
  width: 47vw;
  height: 47vw;
  min-width: 460px;
  min-height: 460px;
  border: 1px solid rgba(90, 79, 255, 0.4);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px rgba(90, 79, 255, 0.08),
    0 0 0 38px rgba(90, 79, 255, 0.07),
    0 0 0 60px rgba(90, 79, 255, 0.055),
    0 0 0 84px rgba(90, 79, 255, 0.04);
  opacity: 0.64;
}

.lines-top {
  top: -34vw;
  right: -19vw;
}

.lines-bottom {
  bottom: -36vw;
  left: -21vw;
}

@media (max-width: 640px) {
  .content {
    width: min(88vw, 480px);
    transform: translateY(-1.5vh);
  }

  .logo {
    width: min(68vw, 290px);
    margin-bottom: 42px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.22;
  }

  a {
    margin-top: 54px;
    font-size: 0.78rem;
    letter-spacing: 0.11em;
  }

  .lines {
    opacity: 0.4;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .lines {
    animation: breathe 8s ease-in-out infinite alternate;
  }

  @keyframes breathe {
    to {
      opacity: 0.82;
      transform: scale(1.025);
    }
  }
}
