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

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  background-color: #000;
}

#game-container {
  position: relative;
  width: 100%;
  height: 100%;
}

#game-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#ui-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  padding: 20px;
}

#mass-counter, #timer {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
}

.hidden {
  display: none;
}

.content {
  text-align: center;
  max-width: 500px;
  padding: 30px;
  background-color: rgba(10, 10, 30, 0.7);
  border-radius: 10px;
  border: 2px solid rgba(100, 100, 255, 0.3);
  box-shadow: 0 0 20px rgba(100, 100, 255, 0.5);
}

h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  background: linear-gradient(to right, #8e2de2, #4a00e0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #aaa;
}

button {
  background: linear-gradient(45deg, #4a00e0, #8e2de2);
  border: none;
  color: white;
  padding: 12px 24px;
  font-size: 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  margin: 20px 0;
  transition: all 0.3s;
  font-family: 'Orbitron', sans-serif;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.7);
}

p {
  color: #ddd;
  line-height: 1.5;
} 