* {
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.float-icon {
  position: absolute;
  opacity: 0.08;
  filter: blur(8px);
  animation: float 20s infinite ease-in-out alternate;
}

.dumbbell { top: 10%; left: 20%; width: 80px; }
.bowl { top: 60%; left: 75%; width: 90px; }
.apple { top: 30%; left: 50%; width: 60px; }
.veggies { top: 75%; left: 15%; width: 100px; }
.yoga { top: 45%; left: 85%; width: 70px; }

@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-40px); }
}

.container {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 6% auto;
  padding: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

h1 {
  margin-bottom: 25px;
  font-size: 26px;
  color: #00bcd4;
  text-shadow: 0 0 10px rgba(0, 188, 212, 0.6);
}

form input {
  width: 100%;
  margin: 10px 0;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  backdrop-filter: blur(4px);
}

form input::placeholder {
  color: #ccc;
}

button {
  margin-top: 10px;
  padding: 14px 25px;
  border: none;
  background: #00bcd4;
  color: #000;
  font-weight: bold;
  font-size: 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background: #00e1ff;
  transform: translateY(-2px);
}

#response-box {
  margin-top: 20px;
  text-align: left;
  white-space: pre-wrap;
  color: #eee;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 15px;
  font-size: 14px;
}

.meal-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 15px;
  line-height: 1.5;
  color: #eee;
  font-weight: 400;
  font-size: 14px;
}

.meal-card h3 {
  color: #00e1ff;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}

.meal-card p {
  margin: 0;
  padding: 0;
  font-weight: 400;
  font-size: 14px;
  color: #ddd;
  line-height: 1.6;
}

.chat-container {
  margin-top: 2rem;
  padding: 1rem;
  background: #1e2f3d;
  border-radius: 10px;
}

.chat-box {
  max-height: 200px;
  overflow-y: auto;
  background: #13222f;
  padding: 0.5rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  color: white;
}

.user-msg, .bot-msg {
  margin: 5px 0;
}
