:root {
  color-scheme: dark;
  --ink: #f4f6ff;
  --muted: #a9afc9;
  --night: #06070e;
  --violet: #916cff;
  --electric: #68e5ff;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.landing {
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 2rem;
  position: relative;
}

.landing::before {
  background-image:
    linear-gradient(rgba(140, 156, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 156, 255, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  inset: 0;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  opacity: 0.45;
  pointer-events: none;
  position: absolute;
}

.glow {
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.3;
  position: absolute;
  will-change: transform;
}

.glow-one {
  animation: drift-one 12s ease-in-out infinite alternate;
  background: var(--violet);
  height: 27rem;
  left: -11rem;
  top: -12rem;
  width: 27rem;
}

.glow-two {
  animation: drift-two 15s ease-in-out infinite alternate;
  background: var(--electric);
  bottom: -15rem;
  height: 31rem;
  right: -13rem;
  width: 31rem;
}

.content {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
  z-index: 1;
}

.brand {
  color: #d5d9ed;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.27em;
  margin: 0 0 3.25rem;
}

.brand span {
  color: var(--electric);
  padding: 0 0.18em;
}

.loader {
  display: grid;
  height: 9.25rem;
  place-items: center;
  position: relative;
  width: 9.25rem;
}

.orbit, .core, .pulse { border-radius: 50%; position: absolute; }

.orbit {
  border: 1px solid transparent;
  inset: 0;
}

.orbit-one {
  animation: spin 3.8s linear infinite;
  border-top-color: var(--electric);
  border-right-color: rgba(104, 229, 255, 0.18);
}

.orbit-two {
  animation: spin-reverse 2.6s linear infinite;
  border-bottom-color: var(--violet);
  border-left-color: rgba(145, 108, 255, 0.22);
  inset: 0.9rem;
}

.core {
  animation: core-pulse 1.8s ease-in-out infinite;
  background: linear-gradient(135deg, var(--electric), var(--violet));
  box-shadow: 0 0 28px rgba(104, 229, 255, 0.75), 0 0 64px rgba(145, 108, 255, 0.4);
  height: 1.1rem;
  width: 1.1rem;
}

.pulse {
  animation: ripple 1.8s ease-out infinite;
  border: 1px solid rgba(184, 207, 255, 0.5);
  height: 1.1rem;
  width: 1.1rem;
}

h1 {
  font-size: clamp(3rem, 10vw, 6.3rem);
  font-weight: 560;
  letter-spacing: -0.075em;
  line-height: 0.95;
  margin: 3rem 0 1.25rem;
  text-wrap: balance;
}

.status {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.8rem;
  gap: 0.6rem;
  letter-spacing: 0.13em;
  margin: 0;
  text-transform: uppercase;
}

.status-dot {
  animation: blink 1.8s ease-in-out infinite;
  background: var(--electric);
  border-radius: 50%;
  box-shadow: 0 0 9px var(--electric);
  height: 0.48rem;
  width: 0.48rem;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }

@keyframes core-pulse {
  50% { box-shadow: 0 0 40px rgba(104, 229, 255, 0.95), 0 0 84px rgba(145, 108, 255, 0.66); transform: scale(1.3); }
}

@keyframes ripple {
  0% { opacity: 0.75; transform: scale(1); }
  100% { opacity: 0; transform: scale(5.8); }
}

@keyframes blink { 50% { opacity: 0.35; transform: scale(0.75); } }

@keyframes drift-one { to { transform: translate(7rem, 5rem) scale(1.15); } }
@keyframes drift-two { to { transform: translate(-8rem, -4rem) scale(1.1); } }


/* Monochrome contrast pass */
:root { --ink:#f7f7f5; --muted:#aaa9a5; --night:#050505; --violet:#fff; --electric:#fff; }
.landing { background:#050505; }
.landing::before { inset:-25%; background:radial-gradient(ellipse at 50% 45%,#2b2b2a 0%,#121212 22%,#050505 54%,#000 76%); animation:ambient 9s ease-in-out infinite alternate; }
.landing::after { background:repeating-linear-gradient(0deg,rgba(255,255,255,.018) 0 1px,transparent 1px 4px); mix-blend-mode:soft-light; opacity:.38; }
.glow { mix-blend-mode:screen; filter:blur(26px); }
.glow-one { width:36rem; height:22rem; left:-18rem; top:12%; background:radial-gradient(ellipse,rgba(255,255,255,.32),transparent 68%); animation:mono-drift-one 13s ease-in-out infinite alternate; }
.glow-two { width:42rem; height:25rem; right:-22rem; bottom:8%; background:radial-gradient(ellipse,rgba(255,255,255,.24),transparent 68%); animation:mono-drift-two 16s ease-in-out infinite alternate; }
.brand { color:#dededb; text-shadow:0 0 18px rgba(255,255,255,.28); }
.brand span { color:#fff; animation:brand-pulse 2.4s ease-in-out infinite; }
.loader { filter:drop-shadow(0 0 18px rgba(255,255,255,.25)); }
.orbit-one { border-top-color:#fff; border-right-color:rgba(255,255,255,.08); }
.orbit-two { border-bottom-color:#fff; border-left-color:rgba(255,255,255,.11); }
.core { background:#fff; box-shadow:0 0 18px #fff,0 0 52px rgba(255,255,255,.68); animation:mono-core 2.2s ease-in-out infinite; }
.pulse { border-color:rgba(255,255,255,.78); animation:mono-ripple 2.2s ease-out infinite; }
h1 { text-shadow:0 0 28px rgba(255,255,255,.18); }
.status-dot { background:#fff; box-shadow:0 0 12px #fff; }
@keyframes ambient { 0% { transform:scale(1) rotate(-4deg); filter:contrast(1); } 100% { transform:scale(1.18) rotate(4deg); filter:contrast(1.35); } }
@keyframes mono-drift-one { to { transform:translate(16rem,-4rem) scale(1.25); opacity:.65; } }
@keyframes mono-drift-two { to { transform:translate(-17rem,5rem) scale(1.18); opacity:.72; } }
@keyframes mono-core { 50% { transform:scale(1.45); box-shadow:0 0 27px #fff,0 0 78px rgba(255,255,255,.88); } }
@keyframes mono-ripple { 0% { opacity:.9; transform:scale(1); } 100% { opacity:0; transform:scale(7); } }
@keyframes brand-pulse { 50% { opacity:.45; text-shadow:0 0 15px #fff; } }

/* Continuous, visible movement */
.landing::before { animation:ambient-sweep 12s ease-in-out infinite alternate; }
.landing::after { animation:grain-drift 9s linear infinite; }
.glow-one { animation:light-sweep-left 10s ease-in-out infinite alternate; }
.glow-two { animation:light-sweep-right 13s ease-in-out infinite alternate; }
.orbit-one { animation-duration:3.2s; }
.orbit-two { animation-duration:2.15s; }
@keyframes ambient-sweep {
  0% { transform:translate3d(-5%,-3%,0) scale(1); filter:contrast(.9) brightness(.72); }
  50% { transform:translate3d(4%,5%,0) scale(1.15); filter:contrast(1.45) brightness(1.18); }
  100% { transform:translate3d(9%,-4%,0) scale(1.08); filter:contrast(1.05) brightness(.82); }
}
@keyframes grain-drift { to { background-position:0 36px; } }
@keyframes light-sweep-left {
  0% { transform:translate3d(-8rem,5rem,0) scale(.82); opacity:.2; }
  55% { transform:translate3d(25rem,-5rem,0) scale(1.28); opacity:.82; }
  100% { transform:translate3d(35rem,11rem,0) scale(.98); opacity:.32; }
}
@keyframes light-sweep-right {
  0% { transform:translate3d(9rem,7rem,0) scale(.84); opacity:.18; }
  48% { transform:translate3d(-25rem,-8rem,0) scale(1.22); opacity:.72; }
  100% { transform:translate3d(-37rem,5rem,0) scale(1); opacity:.26; }
}
