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

body {
  overflow: hidden;
  background: black;
  cursor: default;
}

#canvas {
  display: block;
  width: 100%;
  height: 100%;
}

#stats-container {
  position: fixed;
  top: 15px;
  right: 20px;
  z-index: 50;
  color: white;
  font-family: 'Arial', sans-serif;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  background: rgba(0,0,0,0.3);
  padding: 8px 15px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  text-align: right;
  font-size: 16px;
  line-height: 1.6;
}

#stats-container span {
  font-weight: bold;
  color: #ffaa66;
}

#start-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(5px);
  transition: opacity 0.5s;
}

#start-btn {
  padding: 20px 40px;
  font-size: 28px;
  font-weight: bold;
  background: #ff6b6b;
  color: white;
  border: none;
  border-radius: 60px;
  box-shadow: 0 0 40px #ff6b6b;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  margin-bottom: 30px;
}

#start-btn:hover {
  transform: scale(1.05);
  background: #ff8a8a;
}

#love-message {
  font-family: 'Arial', sans-serif;
  color: white;
  font-size: 28px;
  margin-bottom: 30px;
  text-shadow: 0 0 20px #ff6b6b;
  opacity: 0;
  transition: opacity 0.4s;
}

#love-message.show {
  opacity: 1;
}

#slider-container {
  color: white;
  font-family: 'Arial', sans-serif;
  text-align: center;
  background: rgba(0,0,0,0.4);
  padding: 15px 25px;
  border-radius: 40px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
}

#slider-container label {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

#max-particles-slider {
  width: 300px;
  max-width: 80vw;
  height: 8px;
  -webkit-appearance: none;
  background: linear-gradient(90deg, #ff6b6b, #ffa07a);
  border-radius: 5px;
  outline: none;
}

#max-particles-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 15px #ff6b6b;
  cursor: pointer;
  border: 2px solid #ff6b6b;
}

#max-particles-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 15px #ff6b6b;
  cursor: pointer;
  border: 2px solid #ff6b6b;
}