body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #111;
  color: white;
  line-height: 1.6;
}

header {
  background-color: #1a1a1a;
  text-align: center;
  padding: 40px 20px;
  border-bottom: 4px solid #ff4e4e;
}

header h1 {
  color: #ff4e4e;
  font-size: 2.5rem;
}

header p {
  font-size: 1.2rem;
  color: #ddd;
}

section {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

h2 {
  color: #ff6f61;
  margin-bottom: 20px;
  text-align: center;
}

.card {
  background: #222;
  border: 2px solid #ff4e4e;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 0 15px rgba(255, 50, 50, 0.15);
  transition: 0.3s;
}

.card:hover {
  background-color: #292929;
  transform: scale(1.01);
}

.image-gallery {
  margin: 60px auto;
  padding: 30px;
  background: #1b1b1b;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.1);
}

.image-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.image-container img {
  width: 200px;
  height: auto;
  border-radius: 12px;
  border: 3px solid #ff4e4e;
  box-shadow: 0 0 15px rgba(255, 50, 50, 0.2);
  transition: transform 0.3s ease;
}

.image-container img:hover {
  transform: scale(1.05);
}

canvas {
  background-color: #3a3a3a;
  border: 3px solid #ccc;
  border-radius: 12px;
  display: block;
  margin: 30px auto;
}

#restartContainer,
#startContainer,
#leaderboardContainer {
  text-align: center;
  margin-top: 20px;
}

button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #ff4e4e;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin: 5px;
}

button:hover {
  background-color: #cc3939;
}

footer {
  background: #1a1a1a;
  padding: 30px;
  text-align: center;
  border-top: 2px solid #ff4e4e;
}

footer p, footer a {
  color: #ccc;
  margin: 5px 0;
}

footer a:hover {
  color: #ff4e4e;
}

