:root {
  --bg: #050508;
  --bg-deep: #0a0612;
  --cyan: #00f5ff;
  --magenta: #ff00aa;
  --purple: #b24bf3;
  --lime: #39ff14;
  --text: #c8d4e0;
  --text-dim: #5a6478;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: "Share Tech Mono", monospace;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* Ambient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(178, 75, 243, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 50%, rgba(0, 245, 255, 0.06), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(255, 0, 170, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 40%, #030306 100%);
  z-index: -2;
  pointer-events: none;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.04;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.4) 2px,
    rgba(0, 0, 0, 0.4) 4px
  );
}

.glow-orb {
  position: fixed;
  width: 40vmin;
  height: 40vmin;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}

.glow-orb--left {
  left: -10vmin;
  top: 30vh;
  background: var(--cyan);
  opacity: 0.12;
}

.glow-orb--right {
  right: -10vmin;
  top: 60vh;
  background: var(--magenta);
  opacity: 0.1;
  animation-delay: -6s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(3vmin, -4vmin);
  }
}

/* Hero: min 50% viewport */
.hero {
  position: relative;
  width: 100%;
  min-height: 50vh;
  min-height: 50dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 1.5rem;
}

.hero__media {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(72vh, 820px);
  min-height: 50vh;
  min-height: 50dvh;
  overflow: hidden;
  background: var(--bg);
  /* Tweak if Billy needs to slide along the counter */
  --billy-x: 33%;
  --billy-bottom: 19%;
  --billy-size: 160px;
}

.hero__bar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0.95;
  filter: saturate(1.1) contrast(1.05) brightness(0.9);
}

/* Billy on the left stool, in front of the bar (Afterlife layout) */
.hero__billy {
  position: absolute;
  left: var(--billy-x);
  bottom: var(--billy-bottom);
  width: var(--billy-size);
  height: var(--billy-size);
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__billy-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  opacity: 0.92;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 90% 95% at 50% 55%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 95% at 50% 55%, #000 55%, transparent 100%);
  filter: saturate(1.2) contrast(1.05) brightness(0.95)
    drop-shadow(0 0 12px rgba(0, 245, 255, 0.45))
    drop-shadow(0 0 28px rgba(57, 255, 20, 0.25));
}

.hero__billy--missing {
  display: none;
}

@media (max-width: 640px) {
  .hero__media {
    --billy-x: 30%;
    --billy-bottom: 16%;
    --billy-size: clamp(120px, 32vw, 200px);
  }
}

@media (min-width: 1200px) {
  .hero__media {
    --billy-x: 56%;
    --billy-bottom: 41%;
  }
}

.hero__blend {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, transparent 35%, rgba(5, 5, 8, 0.4) 65%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%),
    radial-gradient(ellipse 100% 80% at 50% 100%, var(--bg) 0%, transparent 55%);
}

.hero__neon-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 120px 40px rgba(5, 5, 8, 0.9),
    inset 0 -2px 0 rgba(0, 245, 255, 0.35),
    0 0 60px rgba(255, 0, 170, 0.15);
  border-bottom: 1px solid rgba(0, 245, 255, 0.25);
}

.hero__tagline {
  position: absolute;
  top: 90px;
  z-index: 2;
  margin: 0;
  font-family: Orbitron, sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 5vw, 3rem);
  letter-spacing: 0.35em;
  text-indent: 0.35em;
}

.neon {
  text-shadow:
    0 0 7px currentColor,
    0 0 20px currentColor,
    0 0 40px currentColor;
}

.neon--cyan {
  color: var(--cyan);
}

.neon--magenta {
  color: var(--magenta);
  margin-left: 0.25em;
}

/* Lower content */
.content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.card {
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: 4px;
  padding: 1.75rem;
  background: rgba(10, 6, 18, 0.75);
  box-shadow:
    0 0 30px rgba(0, 245, 255, 0.08),
    inset 0 0 40px rgba(178, 75, 243, 0.05);
}

.card__title {
  font-family: Orbitron, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.card__text {
  margin: 0 0 1.5rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.card__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.card__stats li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.label {
  color: var(--text-dim);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.value {
  color: var(--lime);
  font-family: Orbitron, sans-serif;
  font-size: 0.9rem;
}

.value--pulse {
  animation: pulse 2s ease-in-out infinite;
  text-shadow: 0 0 10px var(--lime);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.footer {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.footer p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .glow-orb,
  .value--pulse {
    animation: none;
  }
}
