body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #1e1e2f, #111);
  color: #fff;
  padding: 20px;
  min-height: 100vh;
}
h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 15px;
  background: linear-gradient(to right, #f39c12, #e74c3c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
button {
  padding: 12px 20px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.2s, box-shadow 0.3s;
}
button:hover {
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}
.all {
  background: #3498db;
  color: white;
}
.healthy {
  background: #2ecc71;
  color: white;
}
.vegan {
  background: #9b59b6;
  color: white;
}
.surprise {
  background: #f39c12;
  color: white;
}
.search-bar {
  display: flex;
  justify-content: center;
  margin: 15px 0 25px;
}
.search-bar input {
  padding: 10px 15px;
  width: 60%;
  border-radius: 20px;
  border: none;
  outline: none;
  font-size: 16px;
}
.menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}
.card {
  background: #222;
  border-radius: 15px;
  cursor: pointer;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(243, 156, 18, 0.5);
}
.food-name {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.calories {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 14px;
  margin-bottom: 8px;
}
.calories.low {
  background: #2ecc71;
}
.calories.high {
  background: #e74c3c;
}
.type {
  font-style: italic;
  margin-bottom: 8px;
  color: #bbb;
}
.rating {
  color: gold;
  margin-bottom: 5px;
}
.empty-state {
  text-align: center;
  font-size: 1.2rem;
  margin-top: 30px;
  color: #aaa;
}
.tip {
  text-align: center;
  margin-top: 25px;
  font-size: 1rem;
  font-style: italic;
  color: #f39c12;
}
