@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Space Grotesk', sans-serif;
}

body {
  background: #111;
  color: #eee;
  min-height: 100vh;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

header {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 700px;
}

header h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: #00f5d4;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.05rem;
  color: #ccc;
  line-height: 1.6;
}

#container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 2rem;
}

#container button {
  padding: 14px 20px;
  font-size: 1.4rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  background-color: #1e1e1e;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#container button:hover {
  transform: scale(1.07);
  background-color: #2b2b2b;
}

#content {
  font-size: 1.7rem;
  font-weight: 600;
  color: #00f5d4;
  text-align: center;
  margin-bottom: 2rem;
  min-height: 40px;
}

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 2rem;
}

.btns button {
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 600;
  background-color: #00f5d4;
  color: #111;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.btns button:hover {
  background-color: #00dfbf;
  transform: translateY(-2px);
}
#popup,
#score {
  display: none;
  background-color: #1e1e1e;
  color: #eee;
  border: 2px solid #00f5d4;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  margin: 1rem auto;
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.2);
  animation: fadeIn 0.4s ease;
}

#popup h1, #score h1 {
  font-size: 1.8rem;
  color: #00f5d4;
  margin-bottom: 0.5rem;
}

#popup p, #score p {
  font-size: 1.1rem;
  color: #ccc;
}

#score button {
  margin-top: 1rem;
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #00f5d4;
  color: #111;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

#score button:hover {
  background-color: #00dfbf;
  transform: scale(1.05);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
