:root {
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
}
body {
  background: #020811;
  color: #e5edf8;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
.scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 22% 40%, #09213b 0%, transparent 48%), radial-gradient(ellipse at 79% 48%, #07182d 0%, transparent 43%), #020811;
}
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 72% 52%, rgba(22, 110, 195, 0.1), transparent 33%);
  animation: ambient 27s ease-in-out infinite alternate;
}
.ribbons {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.86;
  animation: breathe 19s ease-in-out infinite alternate;
}
.ribbon {
  transform-origin: center;
}
.ribbon--first {
  animation: driftFirst 30s ease-in-out infinite alternate;
}
.ribbon--second {
  animation: driftSecond 37s ease-in-out infinite alternate;
}
.ribbon__glow {
  filter: url(#ribbonBlur);
}
.stars {
  position: absolute;
  inset: 0;
}
.star {
  position: absolute;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #b4d9ff;
  box-shadow: 0 0 5px 1px #4b9ef880;
  opacity: var(--opacity);
  animation: twinkle var(--duration) ease-in-out var(--delay) infinite alternate;
}
.energy-pulse {
  fill: none;
  stroke: #8cddff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 0.1 3000;
  opacity: 0;
  filter: url(#pulseGlow);
  animation: pulseTravel 23s linear 8s infinite;
}
.energy-pulse--secondary {
  stroke-width: 1.4;
  animation-duration: 31s;
  animation-delay: 15s;
}
.domain-card {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 24px;
  text-align: center;
}
.domain-card__content {
  width: 100%;
  min-width: 0;
}
.domain-card__name {
  margin: 0;
  font-size: clamp(38px, 8vw, 100px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
  animation: appear 2s ease-out both;
}
.domain-card__suffix {
  color: #49c8f5;
}
.domain-card__line {
  width: min(300px, 55vw);
  height: 1px;
  margin: 30px auto 0;
  background: linear-gradient(90deg, transparent, #0b6fa9, #a5eaff, #0b6fa9, transparent);
  box-shadow: 0 0 12px #148dcb;
  animation: appear 2s 0.35s ease-out both;
}
@keyframes driftFirst {
  from {
    transform: translate(-1.5%, 1%) scale(1.01);
  }
  to {
    transform: translate(1.2%, -1.3%) scale(1.025);
  }
}
@keyframes driftSecond {
  from {
    transform: translate(1.4%, -1%);
  }
  to {
    transform: translate(-1.5%, 1.1%);
  }
}
@keyframes breathe {
  from {
    opacity: 0.68;
  }
  to {
    opacity: 0.94;
  }
}
@keyframes ambient {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 0.85;
  }
}
@keyframes twinkle {
  from {
    opacity: calc(var(--opacity) * 0.28);
    transform: scale(0.85);
  }
  to {
    opacity: var(--opacity);
    transform: scale(1.12);
  }
}
@keyframes appear {
  from {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}
@keyframes pulseTravel {
  0%,
  8% {
    stroke-dasharray: 0.1 3000;
    stroke-dashoffset: 0;
    opacity: 0;
  }
  12% {
    opacity: 0.48;
  }
  30% {
    stroke-dasharray: 90 3000;
    opacity: 0.52;
  }
  73% {
    stroke-dasharray: 95 3000;
    opacity: 0.36;
  }
  88%,
  100% {
    stroke-dasharray: 0.1 3000;
    stroke-dashoffset: -2600;
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
  }
  .energy-pulse {
    display: none;
  }
}
