/* ---- reset ---- */
html, body {
  height: 100%;
}
body {
  margin: 0;
  font: normal 75% Arial, Helvetica, sans-serif;
  background: #070707; /* fallback */
  overflow: hidden; /* keep full-screen canvas visible */
}

/* Ensure canvas covers whole viewport */
canvas {
  display: block;
  vertical-align: bottom;
}

/* ---- particles.js container ---- */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #070707;
  background-image: url("");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  z-index: 0;
}

/* overlay content that sits above particles */
.overlay {
  position: relative;
  z-index: 5;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  pointer-events: none; /* allow pointer events to pass through to canvas */
  user-select: none;
  transform: translateY(20vh);
}
.overlay h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  letter-spacing: 0.02em;
  text-shadow: 0 6px 18px rgba(0,0,0,0.6);
}
.overlay p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

/* ---- stats.js ---- */
.count-particles {
  background: #000022;
  position: absolute;
  top: 48px;
  left: 0;
  width: 90px;
  color: #13E8E9;
  font-size: .8em;
  text-align: left;
  text-indent: 6px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  z-index: 10;
}
.js-count-particles {
  font-size: 1.1em;
}
#stats, .count-particles {
  -webkit-user-select: none;
  margin-top: 5px;
  margin-left: 5px;
}
#stats {
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}
.count-particles {
  border-radius: 0 0 3px 3px;
}
