/* --- Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

body {
  background: radial-gradient(circle at top, #1c1c1c 0%, #0f0f0f 100%);
  color: #f5f5f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* --- Header --- */
h1 {
  font-size: 2rem;
  margin-bottom: 25px;
  text-align: center;
  color: #ffcb05; /* Pokémon yellow */
  text-shadow: 0 0 10px #ffcb05aa;
}

/* --- Search Box --- */
div {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255, 203, 5, 0.2);
  text-align: center;
  width: 300px;
}

input[type="text"] {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 2px solid #ffcb05;
  border-radius: 8px;
  background: #0f0f0f;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s ease;
}

input[type="text"]:focus {
  border-color: #3b4cca; /* Pokémon blue */
  box-shadow: 0 0 8px #3b4cca;
}

/* --- Button --- */
button {
  background: #3b4cca;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background 0.2s ease, transform 0.2s ease;
}

button:hover {
  background: #2a3690;
  transform: scale(1.05);
}

/* --- Pokemon Image --- */
#pokemonImage {
  display: block;          /* ensures margin works */
  margin: 20px auto 0;      /* auto horizontally centers it */
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px #ffcb05aa);
  transition: transform 0.3s ease;
}

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

/* --- Info Text --- */
#pokemonHeight,
#pokemonWeight {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #ddd;
}
