* {
  font-family: "Poppins", sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #1e1e2f, #2c3e50);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.card {
  width: 100%;
  max-width: 480px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 25px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.search {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  gap: 10px;
}

.search input {
  flex: 1;
  outline: none;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  height: 50px;
  border-radius: 30px;
  font-size: 16px;
  padding: 0 18px;
  transition: all 0.3s ease;
}

.search input:focus {
  box-shadow: 0 0 10px #00feba;
}

.search button {
  outline: none;
  border: none;
  background: linear-gradient(135deg, #00feba, #5b548a);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  flex-shrink: 0;
}

.search button:hover {
  transform: scale(1.1);
}

.search button img {
  width: 20px;
  filter: invert(1);
}

.weather-icon {
  width: 140px;
  margin: 15px 0;
}

.weather h1 {
  font-size: 60px;
  font-weight: 600;
  margin: 10px 0;
}

.weather h2 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 20px;
  opacity: 0.9;
}

.details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  gap: 15px;
  flex-wrap: wrap;
}

.col {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 15px;
  transition: 0.3s ease;
}

.col:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.col img {
  width: 35px;
  margin-right: 12px;
}

.humidity,
.wind {
  font-size: 22px;
  font-weight: 500;
}

@media (max-width: 600px) {
  .card {
    padding: 25px 20px;
  }

  .search input {
    font-size: 14px;
    height: 45px;
  }

  .search button {
    width: 45px;
    height: 45px;
  }

  .weather-icon {
    width: 120px;
  }

  .weather h1 {
    font-size: 48px;
  }

  .weather h2 {
    font-size: 22px;
  }

  .details {
    flex-direction: column;
    gap: 12px;
  }

  .col {
    width: 100%;
  }
}
