/* public/_static/landing/status-metric-strip.css
   Premium system metric strip — landing home */

body.landing-theme {
  --system-amber-glow: rgba(245, 196, 83, 0.22);
  --system-amber-solid: #f5c453;
  --system-green-pulse: #00ff66;
}

body.landing-theme .blitzly-status-ticker-wrapper {
  width: 100%;
  height: 32px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow:
    0 10px 40px var(--system-amber-glow),
    0 4px 12px rgba(0, 0, 0, 0.05);
}

body.landing-theme .blitzly-status-ticker {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

body.landing-theme .blitzly-status-ticker__track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

body.landing-theme .ticker-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  color: #000000;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

body.landing-theme .ticker-divider {
  color: rgba(0, 0, 0, 0.25);
  font-weight: 400;
  margin: 0 4px;
  letter-spacing: 0.08em;
}

body.landing-theme .ticker-metric {
  color: #000000;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.12em;
}

body.landing-theme .ticker-label,
body.landing-theme .ticker-tag {
  color: #222222;
  font-weight: 700;
}

body.landing-theme .ticker-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

body.landing-theme .ticker-status-dot.active-pulse {
  background: var(--system-green-pulse);
  box-shadow: 0 0 8px var(--system-green-pulse);
}

body.landing-theme .ticker-status-dot.yellow-pulse {
  background: var(--system-amber-solid);
  box-shadow: 0 0 8px var(--system-amber-solid);
  animation: blitzlyTelemetryPulse 2s infinite ease-in-out;
}

@keyframes blitzlyTelemetryPulse {
  0% {
    opacity: 0.4;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 0.4;
    transform: scale(0.95);
  }
}

/* Mobile: horizontal ticker */
@media (max-width: 768px) {
  html:has(body.landing-theme) {
    overflow-x: clip;
  }

  body.landing-theme .blitzly-status-ticker-wrapper {
    height: 28px;
    overflow-x: clip;
    contain: paint;
    max-width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  body.landing-theme .blitzly-status-ticker {
    padding: 0;
    justify-content: flex-start;
    max-width: 100%;
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  body.landing-theme .blitzly-status-ticker__track {
    justify-content: flex-start;
    width: max-content;
    animation: blitzlyHardwareTickerMarquee 28s linear infinite;
    will-change: transform;
  }

  body.landing-theme .ticker-content {
    font-size: 10px;
    letter-spacing: 0.12em;
    gap: 8px;
    padding-inline: 16px;
  }

  body.landing-theme .ticker-content--clone {
    display: flex;
  }
}

@media (min-width: 769px) {
  body.landing-theme .ticker-content--clone {
    display: none;
  }
}

@keyframes blitzlyHardwareTickerMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.landing-theme .blitzly-status-ticker__track {
    animation: none;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  body.landing-theme .ticker-content--clone {
    display: none;
  }

  body.landing-theme .ticker-status-dot.yellow-pulse {
    animation: none;
    opacity: 1;
  }
}
