/* Void Colonies – Universal Hero System */

.void-hero {
  --void-hero-height: clamp(150px, 18vw, 220px);
  --void-hero-radius: 16px;
  --void-hero-border: rgba(0, 217, 255, 0.35);
  --void-hero-bg: #020812;

  position: relative;
  width: 100%;
  min-height: 120px;
  height: var(--void-hero-height);
  overflow: hidden;
  border-radius: var(--void-hero-radius);
  border: 1px solid var(--void-hero-border);
  background: var(--void-hero-bg);
  box-shadow:
    inset 0 0 0 1px rgba(130, 230, 255, 0.05),
    inset 0 0 24px rgba(0, 170, 255, 0.10),
    0 0 22px rgba(0, 170, 255, 0.06);
  isolation: isolate;
}

.void-hero__image,
.void-hero__fx,
.void-hero__glow,
.void-hero__scanlines,
.void-hero__vignette {
  position: absolute;
  inset: 0;
}

.void-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, 0, 0) scale(1.03);
  filter: saturate(1.06) contrast(1.05) brightness(0.96);
  z-index: 1;
  will-change: transform;
}

.void-hero__fx {
  width: 100%;
  height: 100%;
  display: block;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: screen;
}

.void-hero__glow {
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 175, 255, 0.09), transparent 26%),
    radial-gradient(circle at 72% 50%, rgba(0, 215, 255, 0.05), transparent 18%),
    radial-gradient(circle at 28% 52%, rgba(95, 95, 255, 0.045), transparent 14%);
}

.void-hero__vignette {
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 4, 12, 0.44), transparent 16%, transparent 84%, rgba(0, 4, 12, 0.48)),
    linear-gradient(180deg, rgba(0, 5, 14, 0.14), transparent 45%, rgba(0, 3, 10, 0.36));
}

.void-hero__scanlines {
  z-index: 5;
  pointer-events: none;
  opacity: 0.13;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(155, 230, 255, 0.05) 0px,
      rgba(155, 230, 255, 0.05) 1px,
      transparent 1px,
      transparent 4px
    );
  mix-blend-mode: soft-light;
}

.void-hero__hud {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  color: rgba(196, 242, 255, 0.86);
  text-shadow: 0 0 10px rgba(0, 220, 255, 0.32);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.void-hero__hud::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #20dfff;
  box-shadow: 0 0 10px rgba(0, 220, 255, 0.75);
  transform: rotate(45deg);
}

.void-hero > :not(.void-hero__image):not(.void-hero__fx):not(.void-hero__glow):not(.void-hero__scanlines):not(.void-hero__vignette):not(.void-hero__hud) {
  position: relative;
  z-index: 7;
}

.void-hero__hud-line {
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 220, 255, 0.04), rgba(0, 220, 255, 0.58));
}

@media (max-width: 900px) {
  .void-hero {
    --void-hero-height: clamp(120px, 24vw, 170px);
  }

  .void-hero__hud {
    left: 10px;
    bottom: 8px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .void-hero__image {
    transform: none !important;
  }

  .void-hero__fx {
    display: none;
  }
}
