/* VANTORA motion backdrop — lightweight GPU-friendly version.
   Animate transforms only; avoid large blurred layers and animated filters. */
html {
  min-height: 100%;
  background: #070707;
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background: transparent !important;
  overflow-x: hidden;
}

/* Keep content above the decorative background. */
body > :not(script):not(style) {
  position: relative;
  z-index: 2;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  backface-visibility: hidden;
  transform-origin: 50% 50%;
  will-change: transform;
}

/* One contained metallic form. Gradients are static; only transform moves. */
body::before {
  z-index: 0;
  opacity: .72;
  background:
    radial-gradient(ellipse at 50% 50%, #050505 0 21%, transparent 22%),
    conic-gradient(from 0deg at 50% 50%,
      transparent 0deg,
      rgba(220,225,233,.48) 32deg,
      rgba(28,31,37,.96) 58deg,
      transparent 91deg,
      rgba(190,198,210,.42) 132deg,
      rgba(8,9,11,.98) 164deg,
      transparent 197deg,
      rgba(225,230,238,.4) 236deg,
      rgba(22,24,29,.96) 265deg,
      transparent 302deg,
      rgba(180,188,200,.38) 330deg,
      transparent 350deg),
    radial-gradient(ellipse at 50% 50%, #24272d 0%, #08090b 48%, transparent 70%);
  transform: rotate(0deg) scale(1.12);
  animation: vantora-liquid-rotate 48s linear infinite;
}

/* Subtle moving highlight; no blur or animated filter. */
body::after {
  z-index: 1;
  opacity: .38;
  background:
    conic-gradient(from 35deg at 50% 50%,
      transparent 0deg,
      rgba(255,255,255,.24) 42deg,
      transparent 78deg,
      rgba(180,190,205,.2) 145deg,
      transparent 190deg,
      rgba(255,255,255,.18) 255deg,
      transparent 310deg,
      rgba(190,200,215,.16) 340deg,
      transparent 360deg);
  transform: rotate(0deg) scale(1.08);
  animation: vantora-liquid-highlight 64s linear infinite reverse;
}

@keyframes vantora-liquid-rotate {
  to { transform: rotate(360deg) scale(1.12); }
}

@keyframes vantora-liquid-highlight {
  to { transform: rotate(360deg) scale(1.08); }
}

@media (max-width: 640px) {
  body::before { opacity: .58; }
  body::after { opacity: .28; }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation-duration: 120s;
  }
}
