body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #6dd5ed, #2193b0);
}

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

main {
  width: 360px;
  min-height: 420px;
  background: #ffffff;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  padding: 25px;
  text-align: center;
  transition: 0.3s;
}

main:hover {
  transform: scale(1.02);
}

form {
  display: flex;
  border-radius: 25px;
  overflow: hidden;
  background: #f1f3f6;
  margin-bottom: 20px;
}

form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 15px;
  font-size: 14px;
  background: transparent;
}

form button {
  border: none;
  background: #2193b0;
  color: white;
  padding: 12px 15px;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background: #17667a;
}

.result .name {
  font-size: 1.4em;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #333;
}

.temperature img {
  width: 120px;
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

.temperature figcaption {
  font-size: 2.5em;
  font-weight: bold;
  color: #2193b0;
}

.description {
  margin: 10px 0 15px;
  font-size: 1em;
  font-style: italic;
  color: #666;
}

ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 15px;
}

ul li {
  background: linear-gradient(135deg, #2193b0, #6dd5ed);
  color: white;
  padding: 15px 10px;
  border-radius: 15px;
  font-size: 0.9em;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
}

ul li:hover {
  transform: scale(1.05);
}

ul li i {
  font-size: 1.8em;
  margin-bottom: 5px;
}

.alert {
  margin-top: 15px;
  font-size: 1em;
  font-weight: bold;
  color: #e74c3c;
}
