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

body {
  background: #0a0a1a;
  color: #e0e0e0;
  font-family: 'Courier New', monospace;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  user-select: none;
}

.game-container {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

canvas {
  border: 2px solid #3a3a5c;
  border-radius: 4px;
}

.left-panel, .right-panel {
  width: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hold-section h2, .next-section h2 {
  font-size: 16px;
  text-align: center;
  color: #9e9ebe;
  margin-bottom: 8px;
  letter-spacing: 3px;
}

.stats {
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 12px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.stat-row label {
  color: #9e9ebe;
  font-size: 13px;
}

.stat-row span {
  color: #fff;
  font-weight: bold;
}

.controls-info {
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 12px;
  font-size: 11px;
}

.controls-info div {
  margin-bottom: 3px;
  color: #8a8aaa;
}

kbd {
  background: rgba(255,255,255,0.1);
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 10px;
  color: #ccc;
}

.overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.overlay.hidden {
  display: none;
}

#overlay-text {
  font-size: 36px;
  color: #e74c3c;
  text-shadow: 0 0 20px rgba(231,76,60,0.5);
}
