/* ==== FONT (local .woff2) ==== */
@font-face {
  font-family: "BagmanDisplay";
  src: url("/public/fonts/RapidResponseLcHalftoneIta-V4gXw.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* ==== RESET / BASE ==== */
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
}
body {
  background: #000;                 /* deep black */
  color: #ffec4e;                   /* trench yellow */
  font-family: "BagmanDisplay", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.2;
  overflow: hidden;                  /* prevent scroll while particles run */
}

/* ==== STARFIELD CANVAS ==== */
#stars {
  position: fixed;
  inset: 0;
  z-index: 0;                        /* behind everything */
}

/* ==== CENTER MESSAGE ==== */
#app {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 6vh 6vw;
  z-index: 1;                        /* above stars */
  text-align: center;
}

/* ==== CENTER MESSAGE ==== */
#type {
  margin: 0;
  font-size: clamp(26px, 5.5vw, 56px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffec4e;
  text-shadow: 0 0 14px rgba(255, 236, 78, 0.08);
  text-align: center;
  max-width: min(92vw, 1000px);  /* prevents overflow on narrow screens */
  white-space: nowrap;            /* single line on desktop */
}

/* ==== SOCIAL ICONS (BOTTOM) ==== */
footer.social {
  position: fixed;
  left: 0; right: 0; bottom: max(20px, env(safe-area-inset-bottom));
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

footer.social .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
}

footer.social .icon img {
  display: block;
  height: 40px;                      /* desktop size */
  width: auto;
  filter: none;                       /* keep your original icon color */
  transition: transform .15s ease, opacity .15s ease;
}

footer.social .icon:hover img { 
  transform: translateY(-2px) scale(1.03);
  opacity: 0.9;
}

/* ==== RESPONSIVE TWEAKS ==== */
@media (max-width: 640px) {
  #type {
    font-size: clamp(22px, 7.2vw, 42px);
    line-height: 1.05;
    white-space: normal;          /* allow wrapping on mobile */
  }
  footer.social .icon img { height: 32px; }
}
