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

body {
  font-family: "Poppins", sans-serif;
  background: radial-gradient(circle at top, #93c5fd, #60a5fa, #2563eb);
  min-height: 100vh;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

h1 {
  margin-top: 20px;
  text-shadow: 0 0 10px #fff;
}

.tagline {
  margin: 10px 0 20px;
  font-size: 1.1rem;
}

.game-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  height: 450px;
  border: 4px solid white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.scene {
  position: relative;
  width: 100%;
  height: 100%;
}

.background {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.object {
  position: absolute;
  width: 35px;
  height: 35px;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.object.found {
  background: rgba(34, 197, 94, 0.8);
  transform: scale(1.4);
  box-shadow: 0 0 10px #22c55e;
}

.status {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

#foundCount {
  font-size: 1.2rem;
  font-weight: 600;
}

#restartBtn {
  background: linear-gradient(90deg, #f472b6, #a78bfa);
  border: none;
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
  font-weight: 600;
}

#restartBtn:hover {
  transform: scale(1.1);
}

#message {
  margin-top: 25px;
  font-size: 1.4rem;
  text-shadow: 0 0 10px #fef9c3;
  font-weight: bold;
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
