body {
  font-family: "Poppins", Arial, sans-serif;
  background: linear-gradient(135deg, #fdf2f8, #f3e8ff);
  margin: 0;
  padding: 0;
}

/* Main Card */
.weather-app {
  background: #ffffff;
  max-width: 700px;
  margin: 60px auto;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(200, 150, 255, 0.15);
  transition: 0.3s ease-in-out;
}

.weather-app:hover {
  transform: translateY(-5px);
}

/* Search Bar */
.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.search-bar input {
  flex: 1;
  padding: 15px;
  border-radius: 10px;
  border: none;
  background: #fdf4ff;
  font-size: 16px;
}

.search-bar input:focus {
  outline: none;
  background: #fce7f3;
}

.search-bar button {
  padding: 15px 25px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #ec4899, #a855f7);
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.search-bar button:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

/* Current Weather Section */
.current-weather {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.current-weather h1 {
  font-size: 36px;
  margin: 0;
  color: #7c3aed;
}

#description {
  color: #a78bfa;
  margin: 10px 0;
  text-transform: capitalize;
}

.current-weather p {
  margin: 5px 0;
  color: #6b7280;
}

.temperature {
  font-size: 70px;
  font-weight: bold;
  background: linear-gradient(135deg, #ec4899, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.icon img {
  width: 90px;
}

/* Forecast Section */
.forecast {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  gap: 10px;
}

.day {
  flex: 1;
  text-align: center;
  background: #faf5ff;
  padding: 15px;
  border-radius: 15px;
  transition: 0.3s;
}

.day:hover {
  background: #f3e8ff;
  transform: translateY(-4px);
}

.day p {
  margin: 6px 0;
}

.day img {
  width: 45px;
}

.high {
  color: #ec4899;
  font-weight: bold;
  margin-right: 5px;
}

.low {
  color: #9ca3af;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #a78bfa;
}

footer a {
  color: #ec4899;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

footer a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .current-weather {
    flex-direction: column;
    text-align: center;
  }

  .forecast {
    flex-direction: column;
  }

  .day {
    margin-bottom: 10px;
  }
}
