@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0c4a6e 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  font-size: 16px;
  line-height: 1.5;
}
.glass-effect {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.gradient-text {
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.weather-card {
  transition: all 0.3s ease;
  border-radius: 20px;
}
.weather-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.search-input {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(251, 191, 36, 0.2);
  transition: all 0.3s ease;
}
.search-input:focus {
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}
.btn-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  body {
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  body {
    font-size: 12px;
  }
}
@media (max-width: 768px) {
  .weather-card {
    padding: 1rem;
  }
}
@media (max-width: 480px) {
  .weather-data-section {
    font-size: 0.9em;
  }
  h1,
  h2,
  h3 {
    font-size: 1.2em;
  }
  .text-5xl {
    font-size: 2rem;
  }
  .text-6xl {
    font-size: 2.5rem;
  }
  .weather-card {
    padding: 0.75rem;
  }
  .weather-card h2 {
    font-size: 1.25rem;
  }
  .grid.grid-cols-2 {
    grid-template-columns: 1fr;
  }
  .text-4xl {
    font-size: 2rem;
  }
  .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  .fixed.bottom-4.left-4.right-4 {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }
}
@media (min-width: 1200px) {
  .weather-card {
    padding: 2rem;
  }
}
@media (max-width: 360px) {
  .text-5xl {
    font-size: 1.75rem;
  }
  .text-6xl {
    font-size: 2rem;
  }
  .weather-card {
    padding: 0.5rem;
  }
  .btn-primary {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}
