
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #0f0f0f;
  color: #ffffff;
}

h1, h2 {
  color: #f5c518; 
}

.screen {
  padding: 30px;
}

.hidden {
  display: none;
}

.card-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.card {
  width: 220px;
  height: 140px;
  background: #1c1c1c;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid #2a2a2a;
}

.card:hover {
  background: #2a2a2a;
  transform: scale(1.05);
}

.back {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #1c1c1c;
  border: none;
  padding: 10px;
  color: white;
  border-radius: 8px;
}

input {
  background: #1c1c1c;
  border: 1px solid #333;
  color: white;
  padding: 10px;
  border-radius: 8px;
  margin: 15px 0;
  width: 260px;
}

button {
  background: #f5c518;
  border: none;
  padding: 10px 15px;
  margin: 5px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background: #ffd700;
}

#genre_display button {
  background: #222;
  color: white;
  border: 1px solid #333;
}

#genre_display button:hover {
  background: #333;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.movie {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
  cursor: pointer;
}

.movie:hover {
  transform: scale(1.05);
}

.movie img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.movie h3 {
  font-size: 16px;
  margin: 10px;
}

.movie p {
  margin: 0 10px 10px;
  color: #ccc;
}

.movie p::before {
  content: "⭐ ";
  color: #f5c518;
}

.moods button {
  background: #222;
  border: 1px solid #333;
}

.moods button:hover {
  background: #333;
}

.recipe {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
  cursor: pointer;
  text-align: left;
}

.recipe:hover {
  transform: scale(1.05);
}

.recipe img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.recipe h3 {
  font-size: 16px;
  margin: 10px;
  color: #f5c518;
}

.recipe p {
  margin: 0 10px 10px;
  color: #ccc;
  font-size: 14px;
}

.weather-input {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.weather-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 30px;
  max-width: 450px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.weather-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.weather-icon {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 10px rgba(245, 197, 24, 0.3));
}

.temp-container {
  text-align: left;
}

.temp {
  display: block;
  font-size: 48px;
  font-weight: 800;
  color: #f5c518;
  line-height: 1;
}

.condition {
  font-size: 18px;
  color: #aaa;
  text-transform: capitalize;
}

.weather-info {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0;
  margin-bottom: 20px;
}

.weather-info h3 {
  margin: 0 0 10px 0;
  font-size: 20px;
  color: #fff;
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  text-align: left;
  font-size: 14px;
  color: #ccc;
}

.weather-suggestion {
  background: rgba(245, 197, 24, 0.1);
  padding: 15px;
  border-radius: 16px;
  border: 1px solid rgba(245, 197, 24, 0.2);
}

.weather-suggestion p {
  margin: 0 0 12px 0;
  font-weight: 600;
  color: #fff;
}

.action-btn {
  background: linear-gradient(135deg, #f5c518, #ffd700);
  color: #000;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(245, 197, 24, 0.4);
}