body, html {
    margin: 0; padding: 0;
    width: 100%; height: 100%;
    background: #000;
    display: flex; justify-content: center; align-items: center;
    overflow: hidden;
}

body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(0,255,0,0.05) 2px,
      rgba(0,0,0,0.25) 8px,
      rgba(0,0,0,0) 6px
    ),
    radial-gradient(circle at center, rgba(0,0,0,0) 60%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
  z-index: 1000;
}

@keyframes scanBeam { 0% { top: -100px; } 100% { top: 100%; } }

/* The Moving Scan-Beam */
body::before {
    content: " ";
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0) 100%);
    animation: scanBeam 8s linear infinite;
    pointer-events: none;
    z-index: 101;
}

#scene-container {
    position: relative;
    width: 100vw;
    height: 56.25vw;
    max-height: 100vh;
    max-width: 177.78vh;
}

.bg-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; 
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
}

#hitbox-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10;
}

.monitor-link {
    position: absolute;
    display: block;
    background-color: transparent; 
    outline: 1px solid transparent; 
    transform-origin: left center;
}


#btn-book  { 
    left: 55.33%; top: 75.51%; width: 15.60%; height: 13.33%; 
    transform: perspective(1000px) rotate(21deg) rotateY(-5deg);
}

#btn-form  { 
    left: 69.85%; top: 32.55%; width: 20.05%; height: 25.27%; 
    transform: perspective(1000px) rotate(13deg) rotateY(-9deg);
}

#btn-illus { 
    left: 32.71%; top: 67.92%; width: 14.94%; height: 15.37%; 
    transform: perspective(1000px) rotate(50deg) rotateY(-20deg) skewY(-35deg);
}

#btn-links { 
    left: 45.98%; top: 0%; width: 20.47%; height: 21.07%; 
    transform: perspective(1000px) rotateY(-35deg);
}

#btn-ui    { 
    left: 44.79%; top: 24.09%; width: 21.19%; height: 23.31%; 
    transform: perspective(1000px) rotateY(-10deg) skewY(10deg);
}

/* 'term' remains flat as requested */
#btn-term  { 
    left: 25.57%; top: 37.12%; width: 12.91%; height: 17.03%;
}