:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: rgba(9, 21, 37, 0.84);
  --panel-strong: rgba(12, 27, 48, 0.94);
  --ink: #f3f7fb;
  --muted: #9aadc4;
  --soft: #c6d5e8;
  --line: rgba(155, 181, 210, 0.2);
  --line-strong: rgba(172, 199, 230, 0.34);
  --cyan: #6de7f5;
  --green: #77e3aa;
  --blue: #5b8cff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(118, 158, 205, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(118, 158, 205, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 18% 22%, rgba(42, 103, 186, 0.34), transparent 32%),
    radial-gradient(circle at 82% 72%, rgba(22, 147, 136, 0.18), transparent 34%),
    linear-gradient(145deg, #06101d 0%, #0a1830 52%, #06101d 100%);
  background-size: 46px 46px, 46px 46px, auto, auto, auto;
  font-family: "Manrope", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045), transparent 34%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 5px);
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 20px;
}

.status-panel {
  position: relative;
  width: min(100%, 1080px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 34%),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.status-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109, 231, 245, 0.8), transparent);
  animation: scan 5.5s ease-in-out infinite;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.brand,
.node-pill,
.auth-head,
.metric-row,
.input-line {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 11px;
  min-width: 0;
  font-weight: 800;
}

.brand img,
.auth-head img {
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.node-pill {
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(119, 227, 170, 0.24);
  border-radius: 999px;
  color: #c8f8dd;
  background: rgba(119, 227, 170, 0.08);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.node-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 20px rgba(119, 227, 170, 0.9);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 22px;
  align-items: center;
  padding: 68px 58px 54px;
}

.copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lede {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--soft);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.72;
}

.ip-card {
  display: grid;
  gap: 8px;
  width: min(100%, 460px);
  margin-top: 34px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(109, 231, 245, 0.1), transparent 46%),
    rgba(7, 16, 30, 0.74);
}

.label,
.info-row span,
.input-line span,
.metric-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ip-card strong {
  overflow-wrap: anywhere;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(1.45rem, 4vw, 2.45rem);
  line-height: 1.15;
}

.ip-card small {
  color: var(--muted);
  line-height: 1.5;
}

.visual {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
}

.visual::before {
  content: "";
  position: absolute;
  inset: 36px;
  border: 1px solid rgba(109, 231, 245, 0.14);
  border-radius: 50%;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(129, 169, 220, 0.16);
  border-radius: 50%;
  animation: rotate 18s linear infinite;
}

.orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(109, 231, 245, 0.9);
}

.orbit-one {
  width: 330px;
  height: 330px;
}

.orbit-one::after {
  top: 36px;
  right: 58px;
}

.orbit-two {
  width: 230px;
  height: 230px;
  animation-duration: 13s;
  animation-direction: reverse;
}

.orbit-two::after {
  bottom: 24px;
  left: 42px;
  background: var(--green);
}

.auth-card {
  position: relative;
  z-index: 1;
  width: min(100%, 340px);
  padding: 18px;
  border: 1px solid rgba(215, 226, 242, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent),
    var(--panel-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  animation: float 6s ease-in-out infinite;
}

.auth-head {
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.input-line {
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  margin-top: 16px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(4, 10, 20, 0.52);
}

.input-line b {
  color: var(--green);
  font-size: 0.86rem;
}

.route-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 22px 12px;
}

.route-map::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  left: 8px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
  transform: translateY(-50%);
}

.route-map i {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto;
  border: 4px solid #0b1a2e;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 1px rgba(109, 231, 245, 0.38), 0 0 22px rgba(109, 231, 245, 0.32);
}

.metric-row {
  justify-content: space-between;
  min-height: 42px;
  border-top: 1px solid var(--line);
}

.metric-row strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(3, 8, 17, 0.22);
}

.info-row div {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.info-row div:last-child {
  border-right: 0;
}

.info-row strong {
  color: var(--soft);
  font-size: 0.95rem;
  line-height: 1.35;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

@keyframes scan {
  0%,
  100% {
    opacity: 0.2;
    transform: translateX(-38%);
  }
  50% {
    opacity: 1;
    transform: translateX(38%);
  }
}

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

@media (max-width: 820px) {
  .page-shell {
    place-items: stretch;
    padding: 14px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 42px 20px 28px;
  }

  .visual {
    min-height: 320px;
  }

  .orbit-one {
    width: 280px;
    height: 280px;
  }

  .orbit-two {
    width: 190px;
    height: 190px;
  }

  .info-row {
    grid-template-columns: 1fr;
  }

  .info-row div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .info-row div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .node-pill {
    align-self: flex-start;
  }

  h1 {
    font-size: 2.45rem;
  }

  .visual {
    min-height: 290px;
  }

  .auth-card {
    width: min(100%, 300px);
  }
}
