.ds-hud {
  --hud-bg: #0c1526;
  --hud-line: rgba(255,255,255,0.10);
  --hud-line-soft: rgba(255,255,255,0.06);
  --hud-text: rgba(255,255,255,0.95);
  --hud-muted: rgba(215,223,238,0.76);
  --hud-dim: rgba(173,188,214,0.54);
  --hud-blue: #2E90FF;
  --hud-green: #39FF14;
  --hud-yellow: #dfff00;
  --hud-metal-a: #ffffff;
  --hud-metal-b: #dfe7f5;
  --hud-metal-c: #9fb0cb;
  --hud-shadow: 0 24px 54px rgba(0,0,0,0.34);
  position: relative;
  color: var(--hud-text);
  margin-top: 20px;
}

.ds-hud--ballistic {
  --hud-accent: var(--hud-blue);
}

.ds-hud__header {
  margin: 0 0 12px;
}

.ds-hud__headline,
.ds-hud__subheadline,
.ds-hud__label,
.ds-hud__ticker-item,
.ds-hud__kv,
.ds-hud__metric-label,
.ds-hud__metric-value,
.ds-hud__scan-row,
.ds-hud__texture,
.ds-hud__cta-status,
.ds-hud__btn,
.ds-hud__footer-meta {
  font-family: "JetBrains Mono", "Roboto Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

.ds-hud__headline {
  margin: 0 0 6px;
  color: rgba(230,237,248,0.92);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.ds-hud__subheadline {
  margin: 0;
  color: rgba(223,232,246,0.74);
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.ds-hud__ticker-wrap {
  position: relative;
  z-index: 7;
  overflow: hidden;
  border: 1px solid var(--hud-line);
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

.ds-hud__ticker-wrap::before,
.ds-hud__ticker-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}

.ds-hud__ticker-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(10,11,12,0.95) 0%, rgba(10,11,12,0) 100%);
}

.ds-hud__ticker-wrap::after {
  right: 0;
  background: linear-gradient(270deg, rgba(10,11,12,0.95) 0%, rgba(10,11,12,0) 100%);
}

.ds-hud__ticker-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  padding: 10px 16px;
  animation: dsHudTicker 34s linear infinite;
}

.ds-hud__ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(223,232,246,0.48);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ds-hud__ticker-bracket,
.ds-hud__ticker-colon {
  opacity: 0.24;
}

.ds-hud__ticker-label {
  color: rgba(46,144,255,0.72);
}

.ds-hud__ticker-player {
  color: rgba(255,255,255,0.60);
}

@keyframes dsHudTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ds-hud__panel {
  position: relative;
  min-height: 300px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(circle at 50% 76%, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.82) 20%, rgba(6,12,24,0.70) 52%, rgba(8,18,34,0.86) 100%);
  overflow: hidden;
  backdrop-filter: blur(12px) brightness(40%);
}

.ds-hud__well {
  position: absolute;
  inset: auto 50% 34px;
  width: 500px;
  height: 80px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(204,255,0,0.18) 0%,
    rgba(204,255,0,0.08) 22%,
    rgba(59,130,246,0.08) 40%,
    rgba(4,8,18,0.00) 64%
  );
  filter: blur(18px);
  z-index: 3;
  pointer-events: none;
}

.ds-hud__fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 80px;
  background: linear-gradient(
    180deg,
    rgba(3,7,18,0.00) 0%,
    rgba(3,7,18,0.22) 32%,
    rgba(3,7,18,0.72) 72%,
    rgba(3,7,18,0.94) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.ds-hud__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  position: relative;
  padding: 14px 14px 158px;
  isolation: isolate;
  z-index: 0;
}

.ds-hud__col {
  padding: 0 20px;
  border-right: 1px solid var(--hud-line-soft);
  position: relative;
}

.ds-hud__col:last-child {
  border-right: 0;
}

.ds-hud__label {
  margin: 0 0 12px;
  color: rgba(46,144,255,0.84);
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  opacity: 0.72;
}

.ds-hud__kv-list,
.ds-hud__metric-stack,
.ds-hud__scan-list {
  display: grid;
  gap: 7px;
}

.ds-hud__kv,
.ds-hud__scan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.025);
}

.ds-hud__kv:last-child,
.ds-hud__scan-row:last-child {
  border-bottom: 0;
}

.ds-hud__k {
  color: rgba(173,188,214,0.34);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ds-hud__v {
  color: rgba(255,255,255,0.42);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
}

.ds-hud__metric {
  display: grid;
  gap: 4px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.025);
}

.ds-hud__metric:last-child {
  border-bottom: 0;
}

.ds-hud__metric-label {
  color: rgba(173,188,214,0.32);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ds-hud__metric-value {
  color: rgba(255,255,255,0.46);
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.ds-hud__metric-value--hero {
  color: rgba(46,144,255,0.70);
  text-shadow: 0 0 8px rgba(46,144,255,0.08);
}

.ds-hud__scan-row {
  justify-content: flex-start;
}

.ds-hud__scan-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(46,144,255,0.74);
  box-shadow: 0 0 6px rgba(46,144,255,0.08);
  flex: 0 0 auto;
}

.ds-hud__scan-name {
  color: rgba(255,255,255,0.50);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ds-hud__texture {
  position: absolute;
  inset: auto 18px 120px 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 40px;
  color: rgba(46,144,255,0.12);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.ds-hud__texture span {
  animation: dsHudPulse 4.8s ease-in-out infinite;
}

.ds-hud__texture span:nth-child(2n) { animation-delay: .8s; }
.ds-hud__texture span:nth-child(3n) { animation-delay: 1.4s; }

@keyframes dsHudPulse {
  0%, 100% { opacity: 0.08; }
  50% { opacity: 0.22; }
}


.ds-hud__cta-layer {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: calc(100% - 2px);
  z-index: 6;
  pointer-events: none;
}

.ds-hud__cta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 5rem 2.25rem 2rem 3rem;
  border: 0;
  background: linear-gradient(
    180deg,
    rgba(7,12,24,0.00) 0%,
    rgba(7,12,24,0.18) 26%,
    rgba(7,12,24,0.52) 100%
  );
  pointer-events: auto;
}

.ds-hud__cta-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 44px;
  bottom: 44px;
  width: 4px;
  border-radius: 999px;
  background: #2E90FF;
  box-shadow:
    0 0 8px rgba(46, 144, 255, 0.42),
    0 0 16px rgba(46, 144, 255, 0.18);
}

.ds-hud__cta-status {
  margin: 0 0 1rem 0;
  padding-left: 0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ef4444;
}

.ds-hud__cta-copy {
  width: 100%;
  max-width: 620px;
  padding-left: 0;
}

.ds-hud__cta-inline-title {
  margin: 0 0 1rem 0;
  font-size: clamp(1.9rem, 2.5vw, 2.6rem);
  line-height: 0.94;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.98);
}

.ds-hud__cta-description {
  margin: 0;
  max-width: 600px;
  font-size: 1.02rem;
  line-height: 1.6;
  font-weight: 700;
  color: rgba(156, 163, 175, 0.96);
}

.ds-hud__cta-actions {
  margin: 3rem 0 1.25rem 0;
  display: flex;
  justify-content: flex-start;
  width: 100%;
  align-self: flex-start;
}

.ds-hud__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  min-width: 420px;
}

.ds-hud__btn--ignite {
  background: linear-gradient(180deg, #f3ff57 0%, var(--hud-yellow) 100%);
  color: #0a0b0c;
  border: 1px solid rgba(255,255,255,0.38);
  box-shadow:
    0 0 18px rgba(223,255,0,0.24),
    0 0 30px rgba(223,255,0,0.14);
  font-weight: 800;
}

.ds-hud__btn--ignite:hover {
  box-shadow:
    0 0 24px rgba(223,255,0,0.30),
    0 0 40px rgba(223,255,0,0.18);
}

.ds-hud__cta-return {
  margin: 0;
  padding-left: 0;
}

.ds-hud__cta-return a {
  font-family: Inter, "SF Pro Display", "SF Pro Text", Roboto, Arial, sans-serif;
  color: rgba(255,255,255,0.68);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.ds-hud__cta-return a:hover {
  color: rgba(255,255,255,0.96);
}



.ds-hud__footer-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding: 8px 4px 0;
  color: rgba(223,232,246,0.36);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: "JetBrains Mono", "Roboto Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

@media (max-width: 1020px) {
  .ds-hud__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 188px;
  }

  .ds-hud__col {
    border-right: 0;
    border-bottom: 1px solid var(--hud-line-soft);
    padding: 0 0 16px;
  }

  .ds-hud__col:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .ds-hud__texture {
    grid-template-columns: repeat(2, 1fr);
    inset: auto 18px 142px 18px;
  }

  .ds-hud__cta-layer {
    width: calc(100% - 24px);
    bottom: 12px;
  }

  .ds-hud__cta-card {
    padding: 3rem 1.5rem 1.5rem 2.25rem;
  }

  .ds-hud__cta-card::before {
    top: 34px;
    bottom: 34px;
  }

  .ds-hud__btn {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .ds-hud__headline,
  .ds-hud__subheadline {
    font-size: 10px;
    line-height: 1.55;
  }

  .ds-hud__ticker-track {
    gap: 16px;
    padding: 10px 12px;
  }

  .ds-hud__panel {
    min-height: 360px;
  }

  .ds-hud__grid {
    padding: 14px 14px 196px;
  }

  .ds-hud__texture {
    grid-template-columns: 1fr;
    gap: 14px;
    inset: auto 14px 146px 14px;
  }

  .ds-hud__cta-layer {
    width: calc(100% - 16px);
    bottom: 10px;
  }

  .ds-hud__cta-card {
    padding: 2.25rem 1rem 1.25rem 1.5rem;
  }

  .ds-hud__cta-card::before {
    top: 28px;
    bottom: 28px;
  }

  .ds-hud__cta-inline-title {
    font-size: 1.95rem;
  }

  .ds-hud__cta-description {
    max-width: none;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .ds-hud__btn {
    width: 100%;
    min-width: 0;
    min-height: 54px;
  }
}
