@font-face {
  font-family: "SixtyFourConvergence";
  src: url("./fonts/sixtyfourconvergence-regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tiny5";
  src: url("./fonts/tiny5-regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}



#scene {
  touch-action: none;
  overscroll-behavior: none;
    -webkit-user-select: none;
  user-select: none;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0b0b0d; /* moody, portfolio-friendly */
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer; /* future button energy */
}

#intro-text {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "SixtyFourConvergence", monospace;
  font-size: clamp(24px, 4vw, 56px);
  letter-spacing: 0.005em;
  color: rgba(200, 220, 255, 0.85);

  pointer-events: none;
  z-index: 20;

  opacity: 1;
  transition: opacity 1.2s ease;
}

/* Optional: subtle VHS shimmer */
#intro-text {
  text-shadow:
    0 0 6px rgba(120, 160, 255, 0.25),
    0 0 12px rgba(80, 120, 255, 0.15);
}

#control-indicator {
  position: fixed;
  /* bottom: 8vh; */
  bottom: 40%;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  gap: 0.6em;

  font-family: "Tiny5", monospace;
  font-size: clamp(14px, 2.5vw, 22px);
  letter-spacing: 0.12em;

  color: rgb(255, 238, 0);
  text-shadow:
    0 0 6px rgba(120, 160, 255, 0.25),
    0 0 12px rgba(80, 120, 255, 0.15);

  pointer-events: none;
  z-index: 25;

  opacity: 1;
  transition: opacity 0.8s ease;
}

/* blinking arrows */
#control-indicator .arrow {
  animation: blink 1.4s infinite;
}

/* stagger the arrows */
#control-indicator .arrow:last-child {
  animation-delay: 0.7s;
}

@keyframes blink {
  0%   { opacity: 0.15; }
  40%  { opacity: 1; }
  100% { opacity: 0.15; }
}

#play-text {
  position: absolute;
  left: 50%;
  top: 30%;           /* start somewhere above VHS */
  transform: translate(-50%, -50%);
  font-family: "Tiny5", monospace;
  font-size: 2rem;
  color: rgb(255, 238, 0);
  text-shadow: 0 0 8px rgba(255, 204, 38, 0.7);
  opacity: 0;          /* hidden by default */
  transition: opacity 0.8s ease, top 0.5s ease;
  pointer-events: none; /* don’t block touches */
  z-index: 25;
}