body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: pink;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial,
    sans-serif;
}

button,
input[type="submit"],
.chip,
a,
#current-location-button,
#forecast .day {
  cursor: pointer;
}

h1 {
  color: pink;
  text-align: center;
}
h1:hover {
  transition: 0.4s;
  filter: hue-rotate(353deg);
}
h3 {
  color: pink;
  filter: saturate(353deg);
}
h3:hover {
  transition: 0.4s;
  filter: hue-rotate(353deg);
}
h4 {
  color: coral;
  filter: saturate(353deg);
  margin: 0.5rem 0 0;
  text-transform: capitalize;
}
h4:hover {
  color: pink;
  filter: hue-rotate(353deg);
  transition: 0.4s;
}

p {
  margin: auto;
  padding: 0;
  color: coral;
  font-size: 27px;
  filter: saturate(353deg);
}
p:hover {
  color: pink;
  transition: 0.4s;
  filter: hue-rotate(353deg);
}

img:hover {
  transition: 0.4s;
  filter: hue-rotate(353deg);
  cursor: crosshair;
}

.weather-app-wrapper {
  max-width: 860px;
  margin: 30px auto;
  color: pink;
}
.weather-app {
  padding: 20px;
  border: 4px solid coral;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px) saturate(120%);
  text-align: center;
  transition: filter 0.4s;
}
.weather-app:hover {
  filter: hue-rotate(45deg);
}

.cloud img {
  max-width: 80px;
  display: block;
  margin: 0 auto 8px;
}

.submit {
  color: pink;
  border: 1px solid #ff83d0;
  border-radius: 10px;
  padding: 8px 14px;
  background: #fff5ea;
  transition: transform 0.4s, filter 0.4s;
}
.submit:hover {
  transform: scale(1.1) rotate(10deg);
  filter: hue-rotate(45deg) saturate(1.4);
}

#search-form {
  color: pink;
}
#search-form:hover {
  transition: 0.4s;
  filter: hue-rotate(353deg);
}

.pacifica {
  color: sandybrown;
  text-align: center;
  margin-top: 0.25rem;
}
.rainbow-text {
  background-image: linear-gradient(to left, violet, yellow, pink, red);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.rainbow-text:hover {
  transition: 0.4s;
  filter: hue-rotate(353deg);
}

.temp-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer a {
  color: #ffb66c;
  text-decoration: underline;
}
.units a {
  color: #ff7ab6;
  text-decoration: none;
  font-weight: 700;
}
.units a.active {
  color: #e62a97;
  text-decoration: underline;
}
.units a.active:hover {
  transform: scale(1.1) rotate(10deg);
  filter: hue-rotate(45deg) saturate(1.4);
}

#current-location-button {
  border-radius: 50%;
  margin: 10px 0;
  background: radial-gradient(circle at 30% 30%, #fd5be2, #eb7dc6);
  border: 4px solid pink;
  width: 84px;
  height: 84px;
  font-size: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 6px 16px rgba(0, 0, 0, 0.25),
    0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, filter 0.3s ease;
}
#current-location-button:hover {
  transform: scale(1.1) rotate(10deg);
  filter: hue-rotate(45deg) saturate(1.4);
}

#forecast {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
#forecast .day {
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px 6px;
}

.ac-wrap {
  position: relative;
  max-width: 520px;
  width: 100%;
}
.ac-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  margin-top: 4px;
  max-height: 260px;
  overflow: auto;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.ac-item {
  padding: 10px 12px;
}
.ac-item:hover {
  background: pink;
  filter: hue-rotate(353deg);
}

.fav-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}
.chip {
  background: #111;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  transition: transform 0.4s, background 0.4s;
}
.chip:hover {
  transform: scale(1.1) rotate(10deg);
  background: pink;
}
.chip .del {
  margin-left: 6px;
  opacity: 0.6;
}
.chip .del:hover {
  opacity: 1;
}

.btn-save {
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid #f7b4ee;
  background: pink;
  color: #111;
  font-weight: 800;
}
.btn-save:hover {
  transform: scale(1.1) rotate(10deg);
  filter: hue-rotate(45deg) saturate(1.4);
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .weather-app {
    padding: 16px;
  }
  .temp-row {
    flex-direction: column;
  }
}
