* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  font-family: 'Orbitron', sans-serif;
  background: #fff;
  color: #333;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#particles-js {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.container {
  flex: 1;
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: auto;
  padding: 2rem 1rem;
  text-align: center;
}

h1 {
  margin-bottom: 0.2rem;
}

.subheading {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  color: #000000;
  text-shadow: none; /* Remove glow */
}

h1, h2 {
  text-shadow: none; /* Remove glow */
  color: #333; /* Use normal dark text */
}


.game-box {
  border: 1px solid #ccc; /* subtle light gray border */
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: none;
}

canvas {
  width: 100%;
  height: 300px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  display: block;
  margin-bottom: 1rem;
}

.scoreboard {
  margin: 0 auto 1rem auto;
  max-width: 300px;
}

button {
  padding: 8px 16px;
  background: #1e90ff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  background: #006bb3;
}

.hidden {
  display: none;
}

#gameOverMsg {
  color: #d8000c;
  margin-top: 12px;
}

ol {
  list-style: none;
  padding: 0;
  max-width: 200px;
  margin: 1rem auto;
  text-align: left;
}

/* Footer */
footer {
  position: sticky;
  bottom: 0;
  width: 100%;
  background: #f8f8f8;
  border-top: 1px solid #ccc;
  padding: 12px 0;
  text-align: center;
  font-size: 0.9rem;
  z-index: 2;
}

.footer-text {
  margin-top: 4px;
}

.social-icons {
  margin-top: 6px;
}

.social-icons a {
  margin: 0 8px;
  color: #1e90ff;
  font-size: 1.3rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #006bb3;
}
.clear-btn {
  margin: 10px auto 30px;
  padding: 6px 14px;
  font-size: 0.9rem;
  cursor: pointer;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 5px;
  display: block;
  transition: background 0.3s ease;
}

.clear-btn:hover {
  background: #c0392b;
}
