* {
  box-sizing: border-box;
}

:root {
  --bg: #050914;
  --text: #f6f8fc;
  --muted: #c3cad8;
  --blue: #2f86ff;
  --blue-soft: #78b8ff;
  --red: #ef3346;
  --red-soft: #ff7a89;
  --mx: 0px;
  --my: 0px;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  overflow: hidden;
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(18, 30, 56, .55), transparent 38%),
    linear-gradient(180deg, #050814 0%, #060a15 56%, #04070d 100%);
}

.grid {
  position: absolute;
  inset: 0;
  opacity: .12;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(100, 135, 190, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 135, 190, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 52%, black 0%, transparent 74%);
  transform: translate(calc(var(--mx) * -.05), calc(var(--my) * -.05));
  transition: transform .25s ease-out;
}

.aurora {
  position: absolute;
  width: 46vw;
  height: 46vw;
  min-width: 420px;
  min-height: 420px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .15;
  pointer-events: none;
  animation: drift 11s ease-in-out infinite alternate;
}

.aurora-blue {
  left: -24vw;
  top: 14%;
  background: var(--blue);
}

.aurora-red {
  right: -24vw;
  bottom: 7%;
  background: var(--red);
  animation-delay: -5s;
}

.wave {
  position: absolute;
  top: 50%;
  width: 58vw;
  height: 58vh;
  min-height: 420px;
  transform: translateY(-50%);
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 0 13px currentColor);
}

.wave-left {
  left: -7vw;
  color: rgba(47, 134, 255, .55);
  animation: waveLeft 8s ease-in-out infinite alternate;
}

.wave-right {
  right: -7vw;
  color: rgba(239, 51, 70, .52);
  animation: waveRight 8.8s ease-in-out infinite alternate;
}

.wave path {
  stroke-dasharray: 9 12;
  animation: dash 7s linear infinite;
}

.hero {
  position: relative;
  z-index: 5;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 72px);
  padding: 44px 20px;
}

.logo-stage {
  position: relative;
  width: min(860px, 94vw);
  text-align: center;
  transform:
    translate(calc(var(--mx) * .16), calc(var(--my) * .16))
    scale(1);
  transition: transform .18s ease-out;
  animation: breathe 5.6s ease-in-out infinite;
}

.brand {
  position: relative;
  z-index: 3;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(70px, 11vw, 142px);
  font-weight: 600;
  letter-spacing: .24em;
  line-height: .95;
  transform: translateX(.12em);
  text-shadow: 0 14px 38px rgba(0, 0, 0, .35);
}

.brand .f {
  color: var(--blue);
  text-shadow:
    0 0 18px rgba(47, 134, 255, .42),
    0 0 48px rgba(47, 134, 255, .16);
}

.brand .s {
  color: var(--red);
  text-shadow:
    0 0 18px rgba(239, 51, 70, .42),
    0 0 48px rgba(239, 51, 70, .16);
}

.brand .a {
  color: #f5f7fb;
}

.coming {
  position: relative;
  z-index: 3;
  margin: 32px 0 27px;
  color: rgba(239, 243, 250, .84);
  font-size: clamp(13px, 1.5vw, 18px);
  font-weight: 500;
  letter-spacing: .58em;
  transform: translateX(.29em);
}

.energy-track {
  position: relative;
  z-index: 3;
  width: min(510px, 72vw);
  height: 3px;
  margin: 0 auto;
  border-radius: 999px;
  overflow: visible;
  background: linear-gradient(
    90deg,
    rgba(47, 134, 255, .1),
    rgba(47, 134, 255, .92) 40%,
    rgba(255,255,255,.98) 50%,
    rgba(239, 51, 70, .92) 60%,
    rgba(239, 51, 70, .1)
  );
  box-shadow:
    -85px 0 32px rgba(47, 134, 255, .24),
    85px 0 32px rgba(239, 51, 70, .22);
}

.energy-flow {
  position: absolute;
  inset: -2px 0;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255,255,255,0) 35%,
      rgba(255,255,255,.98) 50%,
      rgba(255,255,255,0) 65%,
      transparent 100%
    );
  transform: translateX(-110%);
  animation: energyMove 2.4s ease-in-out infinite;
  filter: blur(.2px);
}

.energy-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 12px 3px rgba(255,255,255,.7),
    -16px 0 24px 6px rgba(47,134,255,.42),
    16px 0 24px 6px rgba(239,51,70,.38);
  animation: corePulse 2.2s ease-in-out infinite;
}

.halo {
  position: absolute;
  top: 46%;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  filter: blur(78px);
  opacity: .12;
  pointer-events: none;
}

.halo-blue {
  left: 28%;
  background: var(--blue);
  animation: haloBlue 7s ease-in-out infinite alternate;
}

.halo-red {
  right: 28%;
  background: var(--red);
  animation: haloRed 7s ease-in-out infinite alternate-reverse;
}

footer {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: center;
  padding: 0 20px 26px;
  color: rgba(162, 172, 190, .58);
  font-size: 11px;
  letter-spacing: .16em;
}

@keyframes dash {
  to { stroke-dashoffset: -160; }
}

@keyframes waveLeft {
  from { transform: translateY(-50%) translateX(-1%) scaleY(.97); }
  to   { transform: translateY(-50%) translateX(3%) scaleY(1.04); }
}

@keyframes waveRight {
  from { transform: translateY(-50%) translateX(1%) scaleY(1.04); }
  to   { transform: translateY(-50%) translateX(-3%) scaleY(.97); }
}

@keyframes energyMove {
  0%   { transform: translateX(-110%); opacity: 0; }
  20%  { opacity: .95; }
  70%  { opacity: .9; }
  100% { transform: translateX(110%); opacity: 0; }
}

@keyframes breathe {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.08); }
}

@keyframes corePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(.85); opacity: .8; }
  50%      { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

@keyframes haloBlue {
  from { transform: translate(-12px, 0) scale(.9); }
  to   { transform: translate(10px, -9px) scale(1.08); }
}

@keyframes haloRed {
  from { transform: translate(10px, -4px) scale(.92); }
  to   { transform: translate(-12px, 8px) scale(1.08); }
}

@keyframes drift {
  from { transform: translateY(-12px) scale(.94); }
  to   { transform: translateY(18px) scale(1.08); }
}

@media (max-width: 720px) {
  .wave {
    width: 88vw;
    opacity: .68;
  }

  .wave-left {
    left: -30vw;
  }

  .wave-right {
    right: -30vw;
  }

  .brand {
    letter-spacing: .15em;
    transform: translateX(.075em);
  }

  .coming {
    margin-top: 26px;
    letter-spacing: .38em;
    transform: translateX(.19em);
  }

  .energy-track {
    width: min(360px, 76vw);
  }

  .halo-blue {
    left: 18%;
  }

  .halo-red {
    right: 18%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
