body, html {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.game-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}

#game-area {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.1s;
  user-select: none;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#game-area.state-start {
  background-color: rgba(10, 25, 47, 0.8);
}

#game-area.state-wait {
  background-color: #d32f2f; /* Red */
}

#game-area.state-click {
  background-color: #388e3c; /* Green */
}

#game-area.state-result {
  background-color: rgba(10, 25, 47, 0.8);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  color: white;
  pointer-events: none; /* Let clicks pass through to game area */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

h1 {
  margin: 0 0 10px 0;
  font-size: 2.5rem;
  color: #0ff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

p {
  margin: 10px 0;
  font-size: 1.2rem;
}

#high-score-text {
  font-size: 1rem;
  color: #ff00ff;
  margin-top: 20px;
}
