@import url('https://fonts.googleapis.com/css2?family=Creepster&display=swap');

body {
  margin: 0;
  background: radial-gradient(circle at bottom, #0a0a0d, #000);
  color: orange;
  font-family: 'Creepster', cursive;
  text-align: center;
}

header {
  background: rgba(0, 0, 0, 0.8);
  padding: 20px;
  font-size: 2rem;
  text-shadow: 0 0 15px #ff7518;
}

nav a {
  margin: 0 20px;
  color: #ff7518;
  text-decoration: none;
  transition: 0.3s;
}

nav a:hover {
  color: white;
  text-shadow: 0 0 15px orange;
}

footer {
  position: fixed;
  bottom: 10px;
  width: 100%;
  font-size: 1rem;
  color: #ffb347;
}

button {
  background: orange;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-family: 'Creepster', cursive;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  transform: scale(1.1);
  background: #ffae42;
}
#mobileControls {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
}
#mobileControls button {
  font-size: 24px;
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  background: #4CAF50;
  color: white;
}
#mobileControls div {
  display: flex;
  gap: 10px;
}


canvas { display:block; }

#startScreen{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.8);color:orange;z-index:10;}
