@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
html, body { 
  margin: 0;
  height: 100%;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
  color: white;
  font-size: 9px;
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
}

#magic {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: -1; /* Changed from -9999 to -1 */
  will-change: transform; /* Helps with hardware acceleration */
  pointer-events: none; /* Improves scrolling performance */
}

.playground {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  pointer-events: none; /* Improves touch responsiveness */
}

.bottomPosition {
  text-align: center;
  margin-bottom: 5vh; /* Changed from px to vh for better mobile scaling */
  padding-bottom: env(safe-area-inset-bottom); /* Accounts for iPhone notch */
}

.minText {
  font-size: 14px;
  display: block;
  margin-top: 0.5em;
}

.logo {
  width: 50px;
  height: 50px;
  max-width: 15vw; /* Limits size on very small screens */
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  #magic {
    display: none;
  }
}