* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #0F1117;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  font-family: system-ui, sans-serif;
  touch-action: none;
}

#gameWrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#gameCanvas {
  display: block;
  touch-action: none;
}

#mobileControls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

#tapArea {
  flex: 1;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  letter-spacing: 2px;
  pointer-events: all;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  margin-right: 10px;
  cursor: pointer;
  touch-action: none;
}

#btnSlide {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255,165,0,0.7);
  background: rgba(255,165,0,0.2);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
  pointer-events: all;
  touch-action: manipulation;
  font-family: system-ui, sans-serif;
}

#btnSlide:active {
  background: rgba(255,165,0,0.5);
}

@media (min-width: 768px) {
  #mobileControls { display: none; }
}
