body {
  background-color: #0f1113;
  color: #e7e7e7;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  text-align: center;
  background-color: #141519;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  width: 92%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  color: #ffd54f;
  margin-bottom: 18px;
}

.product-display {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  width: 100%;
}

.product {
  margin: 0 12px;
}

.product img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-btn {
  background: none;
  border: 2px solid #ffd54f;
  color: #ffd54f;
  font-size: 22px;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.25s;
}

.nav-btn:hover {
  background-color: #ffd54f;
  color: #111;
}

.guess-section {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  width: 100%;
}

#guessInput {
  width: 62%;
  padding: 10px;
  border-radius: 10px;
  border: none;
  text-align: center;
  font-size: 16px;
  background-color: #0d0f11;
  color: #eee;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.6);
}

#checkBtn {
  background-color: #ffd54f;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

#checkBtn:hover {
  transform: translateY(-2px);
  background-color: #ffe57f;
}

#feedback {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 600;
  min-height: 22px;
}

.correct {
  color: #66ff99;
}

.higher {
  color: #ff6b6b;
}

.lower {
  color: #63c5ff;
}

.attribution {
  margin-top: 18px;
  font-size: 10px;
  font-style: italic;
  color: #bdbdbd;
  opacity: 0.85;
}

.attribution a {
  color: #bdbdbd;
  text-decoration: none !important;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.attribution a:hover {
  color: #ffd54f;
  opacity: 1;
}

@media (max-width: 480px) {
  .product img {
    width: 160px;
    height: 160px;
  }
  #guessInput {
    width: 58%;
  }
}

#guessInput::-webkit-inner-spin-button,
#guessInput::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#guessInput {
  -moz-appearance: textfield;
}
