* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #0a0a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: 'Segoe UI', sans-serif;
  color: #ffffff;
  overflow: hidden;
  touch-action: manipulation;
}
#game-container {
  text-align: center;
  width: 100%;
  max-width: 700px;
  padding: 10px;
}
#title {
  font-size: 2.2em;
  margin-bottom: 0.3em;
  background: linear-gradient(45deg, #ff00cc, #3333ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px #ff00cc88;
}
#canvas-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
}
#gameCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid #ff00cc;
  border-radius: 8px;
  background: #111122;
  box-shadow: 0 0 20px #ff00cc44;
}
#touch-controls {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  pointer-events: auto;
}
.touch-btn {
  width: 40px;
  height: 40px;
  background: #ffffff22;
  border: 2px solid #ff00cc;
  border-radius: 50%;
  font-size: 1.2em;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.touch-btn:active {
  background: #ff00ccaa;
}
#status, #players-list, #instructions {
  margin-top: 10px;
  font-size: 0.9em;
  opacity: 0.8;
}
@media (max-width: 500px) {
  #title { font-size: 1.5em; }
  .touch-btn { width: 35px; height: 35px; font-size: 1em; }
}
