:root {
  color-scheme: dark;
  --bg: #090909;
  --bg-soft: #101010;
  --panel: #232323;
  --panel-strong: #2b2b2b;
  --panel-muted: #161616;
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --muted-soft: #6d6d6d;
  --line: rgba(255, 255, 255, 0.06);
  --success: #2ad463;
  --danger: #7f1d1d;
  --danger-soft: #c24141;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.05), transparent 28%),
    radial-gradient(circle at 50% 115%, rgba(43, 122, 255, 0.08), transparent 36%),
    linear-gradient(180deg, #080808 0%, #090909 55%, #070707 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.015)),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.012),
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px,
      transparent 6px
    );
  opacity: 0.12;
  mix-blend-mode: screen;
}

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

.hero {
  width: min(720px, 100%);
  padding: 44px 0 32px;
  text-align: center;
}

.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  color: var(--text);
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.05));
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 2.5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.subtitle {
  margin: 12px 0 8px;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  line-height: 1.35;
  font-weight: 600;
  color: var(--muted);
}

.timestamp {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted-soft);
}

.divider {
  width: min(680px, 100%);
  height: 4px;
  margin: 22px auto 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.mirror-list {
  display: grid;
  gap: 9px;
}

.mirror-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 18px 22px;
  border-radius: 10px;
  background: var(--panel-muted);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: inherit;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
  animation: rise 420ms ease both;
}

.mirror-card:nth-child(1) {
  background: var(--panel-strong);
}

.mirror-card:hover {
  transform: translateY(-1px);
  background: #2e2e2e;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    var(--shadow);
}

.mirror-card.is-offline {
  cursor: default;
  pointer-events: none;
  opacity: 0.42;
}

.mirror-name {
  font-size: clamp(1.08rem, 2.4vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.status-dot {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 4px solid currentColor;
}

.status-dot::before {
  content: "";
  width: 11px;
  height: 6px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: translateY(-1px) rotate(-45deg);
}

.status.offline .status-dot::before {
  width: 14px;
  height: 3px;
  border: 0;
  background: currentColor;
  transform: none;
}

.online {
  color: var(--success);
}

.offline {
  color: var(--danger-soft);
}

.mirror-card.is-offline .mirror-name {
  color: #b0b0b0;
}

.mirror-card.is-offline .status {
  color: var(--danger-soft);
}

.disclaimer {
  max-width: 680px;
  margin: 24px auto 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #737373;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 22px 14px;
  }

  .hero {
    padding-top: 18px;
  }

  .brand-lockup {
    flex-direction: column;
    gap: 10px;
  }

  .mirror-card {
    padding: 16px 16px;
    min-height: 68px;
  }

  .status {
    font-size: 0.95rem;
  }

  .status-dot {
    width: 30px;
    height: 30px;
  }
}
