:root {
  color-scheme: dark;
  font-family: Inter, system-ui, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #292d52, #10121d 55%);
  color: #f2f4ff;
}

.app {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
}

.panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 20px;
  backdrop-filter: blur(6px);
}

.controls {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.keybinds button,
.start,
select {
  background: #1f2342;
  color: #fff;
  border: 1px solid #7781e6;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
}

.start { margin-top: 16px; cursor: pointer; }
.hint, .timing { opacity: 0.85; }

.hud {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.playfield {
  position: relative;
  margin-top: 16px;
  height: 540px;
  border-radius: 14px;
  background: rgba(2, 3, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.hit-center,
.approach,
.hit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  pointer-events: none;
}

.hit-center {
  width: 80px;
  height: 80px;
  border: 5px solid #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}

.approach {
  border: 4px solid #91e0ff;
  opacity: 0.88;
}

.hit-ring {
  width: 80px;
  height: 80px;
  border: 2px solid rgba(255,255,255,0.4);
}

.success { color: #8ff7ad; }
.fail { color: #ff8f8f; }
