.coin-hud {
  position: absolute;
  top: 100px;
  right: 20px;
  font-family: 'Black Ops One', sans-serif;
  color: #ffd700;
  font-size: 1.4rem;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  z-index: 100;
}

.resume-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.resume-overlay.hidden {
  display: none;
}

.resume-panel {
  text-align: center;
  background: #111;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid #d7ff63;
  color: #fff;
}

.resume-panel h3 {
  color: #d7ff63;
  margin-top: 0;
}

.upgrade-menu {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10, 18, 33, 0.95);
  border: 2px solid #d7ff63;
  padding: 30px;
  border-radius: 20px;
  z-index: 1000;
  width: 400px;
  box-shadow: 0 0 40px rgba(215, 255, 99, 0.2);
}

.upgrade-menu h3 {
  margin-top: 0;
  text-align: center;
  color: #d7ff63;
  font-family: 'Black Ops One', sans-serif;
}

.upgrade-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.upgrade-item button {
  background: #d7ff63;
  color: #000;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s;
}

.upgrade-item button:hover:not(:disabled) {
  transform: scale(1.05);
  background: #eaff96;
}

.upgrade-item button:disabled {
  background: #444;
  color: #888;
  cursor: not-allowed;
}
